Skip to content

Commit 67a5540

Browse files
committed
solved merge conflict
1 parent be16919 commit 67a5540

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/gui/socketapi/socketapi.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -579,12 +579,6 @@ void SocketApi::processEncryptRequest(const QString &localFile)
579579
);
580580
Q_UNUSED(ret)
581581
} else {
582-
// const int ret = QMessageBox::information(nullptr,
583-
// tr("Folder encrypted successfully"),
584-
// tr("The following folder was encrypted successfully: \"%1\"")
585-
// .arg(fileData.folderRelativePath));
586-
// Q_UNUSED(ret)
587-
588582
// NMC customization
589583
auto messageBox = std::make_unique<QMessageBox>();
590584
messageBox->setAttribute(Qt::WA_DeleteOnClose);
@@ -598,6 +592,12 @@ void SocketApi::processEncryptRequest(const QString &localFile)
598592
// Set default button (prevents empty UI)
599593
messageBox->addButton(QMessageBox::Ok);
600594
messageBox->show();
595+
/*
596+
const int ret = QMessageBox::information(nullptr,
597+
tr("Folder encrypted successfully").arg(fileData.folderRelativePath),
598+
tr("The following folder was encrypted successfully: \"%1\"").arg(fileData.folderRelativePath));
599+
Q_UNUSED(ret)
600+
*/
601601
}
602602
});
603603
job->setProperty(encryptJobPropertyFolder, QVariant::fromValue(folder));

0 commit comments

Comments
 (0)