diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-10-17 23:10:53 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-10-17 23:10:53 +0000 |
commit | 7b7e1b832fd0a3dbb7d5f63420c3aaf4a9f01a4d (patch) | |
tree | ec8b4c3a0135c5eda141c92f24ac580ace2e8dc1 | |
parent | add linebreak (diff) | |
download | gpg4usb-7b7e1b832fd0a3dbb7d5f63420c3aaf4a9f01a4d.tar.gz gpg4usb-7b7e1b832fd0a3dbb7d5f63420c3aaf4a9f01a4d.zip |
close verifynotification on textchange()
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@560 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | verifynotification.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/verifynotification.cpp b/verifynotification.cpp index a2b4b6e..9cb2fce 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -30,6 +30,7 @@ VerifyNotification::VerifyNotification(QWidget *parent, GpgME::Context *ctx, Key verifyLabel = new QLabel(this); connect(mCtx, SIGNAL(keyDBChanged()), this, SLOT(refresh())); + connect(edit, SIGNAL(textChanged()), this, SLOT(close())); importFromKeyserverAct = new QAction(tr("Import missing key from Keyserver"), this); connect(importFromKeyserverAct, SIGNAL(triggered()), this, SLOT(importFromKeyserver())); @@ -112,7 +113,7 @@ bool VerifyNotification::refresh() case GPG_ERR_NO_PUBKEY: { verifyStatus=VERIFY_ERROR_WARN; - verifyLabelText.append(tr("Key not present with id 0x ")+QString(sign->fpr)); + verifyLabelText.append(tr("Key not present with id 0x")+QString(sign->fpr)); this->keysNotInList->append(sign->fpr); unknownKeyFound=true; break; |