Verified Commit 9c8b6efb authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Show remarks in weboftrustwidget

This allows a detailed "under the hood" view of remarks.
parent b7805c5f
......@@ -31,6 +31,7 @@
#include "kleopatra_debug.h"
#include "commands/command.h"
#include "utils/remarks.h"
#include <KMessageBox>
#include <KLocalizedString>
......@@ -42,6 +43,8 @@ class WebOfTrustWidget::Private
public:
Private(WebOfTrustWidget *qq): keyListJob(nullptr), q(qq)
{
certificationsModel.enableRemarks(Remarks::remarksEnabled());
certificationsTV = new QTreeView;
certificationsTV->setModel(&certificationsModel);
certificationsTV->setAllColumnsShowFocus(true);
......@@ -87,6 +90,10 @@ public:
return;
}
if (Remarks::remarksEnabled()) {
job->addMode(GpgME::SignatureNotations);
}
/* Old style connect here again as QGPGME newstyle connects with
* default arguments don't work on windows. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment