diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-10-25 08:35:02 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-10-25 08:35:02 +0000 |
commit | 8e8657ed5e951d2ec875058667179c380d0eb5bb (patch) | |
tree | 433e775fce665b0146850793b2f7d5ff4b69383a | |
parent | destroy attachmentdok if option parsemime not set, make sure only one attachm... (diff) | |
download | gpg4usb-8e8657ed5e951d2ec875058667179c380d0eb5bb.tar.gz gpg4usb-8e8657ed5e951d2ec875058667179c380d0eb5bb.zip |
be a bit more verbose when redoing keyid search
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@576 34ebc366-c3a9-4b3c-9f84-69acf7962910
-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 { |