From 7b7e1b832fd0a3dbb7d5f63420c3aaf4a9f01a4d Mon Sep 17 00:00:00 2001 From: ubbo Date: Mon, 17 Oct 2011 23:10:53 +0000 Subject: close verifynotification on textchange() git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@560 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- verifynotification.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3