File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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));
You can’t perform that action at this time.
0 commit comments