diff options
-rw-r--r-- | gpgcontext.h | 2 | ||||
-rw-r--r-- | keylist.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gpgcontext.h b/gpgcontext.h index 101dbdf..3e9e760 100644 --- a/gpgcontext.h +++ b/gpgcontext.h @@ -48,6 +48,7 @@ public: QString fpr; bool privkey; bool expired; + bool revoked; }; typedef QLinkedList< GpgKey > GpgKeyList; @@ -62,7 +63,6 @@ class GpgContext : public QObject public: GpgContext(); // Constructor ~GpgContext(); // Destructor - void importKey(QByteArray inBuffer); bool exportKeys(QStringList *uidList, QByteArray *outBuffer); void generateKey(QString *params); diff --git a/keylist.cpp b/keylist.cpp index 64f5044..37e948e 100644 --- a/keylist.cpp +++ b/keylist.cpp @@ -94,7 +94,7 @@ void KeyList::refresh() QTableWidgetItem *tmp3 = new QTableWidgetItem(it->email); tmp3->setToolTip(it->email); // strike out expired keys - if(it->expired) { + if(it->expired || it->revoked) { QFont strike = tmp2->font(); strike.setStrikeOut(true); tmp2->setFont(strike); |