diff options
author | Saturn&Eric <[email protected]> | 2021-12-07 08:37:54 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-07 08:37:54 +0000 |
commit | cc89ad54ab3dd4aeb3ed7afeed59a80b6e61649c (patch) | |
tree | 865d2298d836c8eb36584b5d268325bca4a66a78 /src/ui/details/VerifyDetailsDialog.cpp | |
parent | Merge pull request #26 from saturneric/develop (diff) | |
parent | Fix Bugs on KeyUploadDialog (diff) | |
download | GpgFrontend-cc89ad54ab3dd4aeb3ed7afeed59a80b6e61649c.tar.gz GpgFrontend-cc89ad54ab3dd4aeb3ed7afeed59a80b6e61649c.zip |
Merge pull request #28 from saturneric/develop
Diffstat (limited to '')
-rw-r--r-- | src/ui/details/VerifyDetailsDialog.cpp (renamed from src/ui/VerifyDetailsDialog.cpp) | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/ui/VerifyDetailsDialog.cpp b/src/ui/details/VerifyDetailsDialog.cpp index 1ad9d996..c03feea5 100644 --- a/src/ui/VerifyDetailsDialog.cpp +++ b/src/ui/details/VerifyDetailsDialog.cpp @@ -22,19 +22,16 @@ * */ -#include "ui/VerifyDetailsDialog.h" +#include "VerifyDetailsDialog.h" #include <boost/format.hpp> namespace GpgFrontend::UI { -VerifyDetailsDialog::VerifyDetailsDialog(QWidget* parent, KeyList* keyList, - GpgError error, GpgVerifyResult result) - : QDialog(parent), - mKeyList(keyList), - mResult(std::move(result)), - error(error) { - this->setWindowTitle(_("Signature Details")); +VerifyDetailsDialog::VerifyDetailsDialog(QWidget* parent, GpgError error, + GpgVerifyResult result) + : QDialog(parent), mResult(std::move(result)), error(error) { + this->setWindowTitle(_("Signatures Details")); mainLayout = new QHBoxLayout(); this->setLayout(mainLayout); @@ -86,7 +83,8 @@ void VerifyDetailsDialog::slotRefresh() { } // Add information box for every single key while (sign) { - auto* sign_box = new VerifyKeyDetailBox(this, mKeyList, sign); + GpgSignature signature(sign); + auto* sign_box = new VerifyKeyDetailBox(signature, this); sign = sign->next; mVboxLayout->addWidget(sign_box); } |