Commit 1161f2ad authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Simplify code

GnuPG-bug-id: 6062
parent a3abf3ab
......@@ -374,7 +374,7 @@ std::vector< std::shared_ptr<Task> > AutoDecryptVerifyFilesController::Private::
QString signedDataFileName = cFile.baseName;
if (!QFile::exists(signedDataFileName)) {
signedDataFileName = QFileDialog::getOpenFileName(nullptr, xi18n("Select the file to verify with the signature <filename>%1</filename>", fi.fileName()),
if (signedDataFileName.isEmpty()) {
qCDebug(KLEOPATRA_LOG) << "No signed data selected. Verify aborted.";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment