aboutsummaryrefslogtreecommitdiffstats
path: root/keyserverimportdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'keyserverimportdialog.cpp')
-rw-r--r--keyserverimportdialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyserverimportdialog.cpp b/keyserverimportdialog.cpp
index 0482889..80469e6 100644
--- a/keyserverimportdialog.cpp
+++ b/keyserverimportdialog.cpp
@@ -147,6 +147,7 @@ void KeyServerImportDialog::search()
void KeyServerImportDialog::searchFinished()
{
keysTable->clearContents();
+ keysTable->setRowCount(0);
QString firstLine = QString(searchreply->readLine(1024));
QVariant redirectionTarget = searchreply->attribute(QNetworkRequest::RedirectionTargetAttribute);
@@ -162,6 +163,9 @@ void KeyServerImportDialog::searchFinished()
if (text.contains("No keys found")) {
setMessage(tr("No keys found containing the search string!"),true);
}
+ if (text.contains("Insufficiently specific words")) {
+ setMessage(tr("Insufficiently specific search string!"),true);
+ }
} else {
int row = 0;
char buff[1024];