aboutsummaryrefslogtreecommitdiffstats
path: root/keyserverimportdialog.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-11-27 20:18:21 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-11-27 20:18:21 +0000
commit0fe4790459f56c1fd3b207e67e81a5d0a52f5c55 (patch)
tree8714c0288fd2b004b47b9cd7b00d61d19b6097b2 /keyserverimportdialog.cpp
parentshow dialog if no key is found for import (diff)
downloadgpg4usb-0fe4790459f56c1fd3b207e67e81a5d0a52f5c55.tar.gz
gpg4usb-0fe4790459f56c1fd3b207e67e81a5d0a52f5c55.zip
minor beautifying on keyimportdetaildialog
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@650 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keyserverimportdialog.cpp')
-rw-r--r--keyserverimportdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyserverimportdialog.cpp b/keyserverimportdialog.cpp
index 28db768..d333d5b 100644
--- a/keyserverimportdialog.cpp
+++ b/keyserverimportdialog.cpp
@@ -100,9 +100,11 @@ void KeyServerImportDialog::createKeysTable()
{
keysTable = new QTableWidget();
keysTable->setColumnCount(3);
+
// always a whole row is marked
keysTable->setSelectionBehavior(QAbstractItemView::SelectRows);
keysTable->setEditTriggers(QAbstractItemView::NoEditTriggers);
+
// Make just one row selectable
keysTable->setSelectionMode(QAbstractItemView::SingleSelection);
@@ -230,7 +232,6 @@ void KeyServerImportDialog::searchFinished()
}
setMessage(tr("%1 keys found. Doubleclick a key to import it.").arg(row),false);
}
- //keysTree->insertTopLevelItems(0,items);
keysTable->resizeColumnsToContents();
}
reply->deleteLater();
@@ -241,7 +242,6 @@ void KeyServerImportDialog::import()
{
if ( keysTable->currentRow() > -1 ) {
QString keyid = keysTable->item(keysTable->currentRow(),2)->text();
-
QUrl url = keyServerComboBox->currentText();
import(QStringList(keyid), url);
}