diff options
-rw-r--r-- | keyserverimportdialog.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keyserverimportdialog.cpp b/keyserverimportdialog.cpp index 68e7009..704bd0d 100644 --- a/keyserverimportdialog.cpp +++ b/keyserverimportdialog.cpp @@ -162,10 +162,12 @@ void KeyServerImportDialog::searchFinished() QRegExp rx("[0-9A-Fa-f]*"); QString query = searchLineEdit->text(); if (rx.exactMatch(query)) { + setMessage(tr("No keys found, input may be kexId, retrying search with 0x."),true); searchLineEdit->setText(query.prepend("0x")); this->search(); + } else { + setMessage(tr("No keys found containing the search string!"),true); } - setMessage(tr("No keys found containing the search string!"),true); } else if (text.contains("Insufficiently specific words")) { setMessage(tr("Insufficiently specific search string!"),true); } else { |