aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-08-29 20:23:17 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-08-29 20:23:17 +0000
commitf92a63040fad6f15cb4da7a5738831876b71565f (patch)
tree5cadc77815cde348f3b9c8f57ac8712ef32be0a2
parentchanged includes to class declarations where possible and moved includes and ... (diff)
downloadgpg4usb-f92a63040fad6f15cb4da7a5738831876b71565f.tar.gz
gpg4usb-f92a63040fad6f15cb4da7a5738831876b71565f.zip
fix typo and remove port from lookup server entry
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@523 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r--keyserverimportdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyserverimportdialog.cpp b/keyserverimportdialog.cpp
index 703467a..204b1ea 100644
--- a/keyserverimportdialog.cpp
+++ b/keyserverimportdialog.cpp
@@ -33,7 +33,7 @@ KeyServerImportDialog::KeyServerImportDialog(GpgME::Context *ctx, QWidget *paren
searchButton = createButton(tr("&Search"), SLOT(search()));
// Line edit for search string
- searchLabel = new QLabel(tr("Seacrh string:"));
+ searchLabel = new QLabel(tr("Search string:"));
searchLineEdit = new QLineEdit();
// combobox for keyserverlist
@@ -135,7 +135,7 @@ void KeyServerImportDialog::setMessage(const QString &text, bool error)
void KeyServerImportDialog::search()
{
- QUrl url = keyServerComboBox->currentText()+":11371/pks/lookup?search="+searchLineEdit->text()+"&op=index&options=mr";
+ QUrl url = keyServerComboBox->currentText()+"/pks/lookup?search="+searchLineEdit->text()+"&op=index&options=mr";
searchreply = qnam.get(QNetworkRequest(url));
connect(searchreply, SIGNAL(finished()),
this, SLOT(searchFinished()));
@@ -210,7 +210,7 @@ void KeyServerImportDialog::import()
updateComboBox(keyServerComboBox);
QString keyid = keysTable->item(keysTable->currentRow(),2)->text();
- QUrl url = keyServerComboBox->currentText()+":11371/pks/lookup?op=get&search=0x"+keyid+"&options=mr";
+ QUrl url = keyServerComboBox->currentText()+"/pks/lookup?op=get&search=0x"+keyid+"&options=mr";
importreply = qnam.get(QNetworkRequest(url));
connect(importreply, SIGNAL(finished()),
this, SLOT(importFinished()));