aboutsummaryrefslogtreecommitdiffstats
path: root/keydetailsdialog.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-11-15 21:34:26 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-11-15 21:34:26 +0000
commit3f17b46e96252d875b530168d19be2120b684a16 (patch)
treebc62b060dcf8705d48651cdcdae4fbff341e8d31 /keydetailsdialog.cpp
parentalso show warning in keydetail dialog, if key is revoked (diff)
downloadgpg4usb-3f17b46e96252d875b530168d19be2120b684a16.tar.gz
gpg4usb-3f17b46e96252d875b530168d19be2120b684a16.zip
bugfix in striking out revoked keys in keyserverimport and little bigfix in keydetailsdialog
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@620 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'keydetailsdialog.cpp')
-rw-r--r--keydetailsdialog.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/keydetailsdialog.cpp b/keydetailsdialog.cpp
index 5fd01f2..c2de5e4 100644
--- a/keydetailsdialog.cpp
+++ b/keydetailsdialog.cpp
@@ -133,12 +133,13 @@ KeyDetailsDialog::KeyDetailsDialog(GpgME::GpgContext* ctx, gpgme_key_t key, QWid
QIcon icon = QIcon::fromTheme("dialog-warning");
QPixmap pixmap = icon.pixmap(QSize(32,32),QIcon::Normal,QIcon::On);
+ QLabel *expLabel;
QLabel *iconLabel = new QLabel();
if (key->expired) {
- QLabel *expLabel = new QLabel(tr("Warning: Key expired"));
+ expLabel = new QLabel(tr("Warning: Key expired"));
}
if (key->revoked) {
- QLabel *expLabel = new QLabel(tr("Warning: Key revoked"));
+ expLabel = new QLabel(tr("Warning: Key revoked"));
}
iconLabel->setPixmap(pixmap);