diff options
author | Saturneric <[email protected]> | 2021-12-06 15:58:23 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-06 15:58:43 +0000 |
commit | 97d13004e4f1cb33941a9be57c7e7662e223890b (patch) | |
tree | 6bf2466046379fd8ac2a0e9ca3605e15dce4672d /src/ui/details/VerifyDetailsDialog.cpp | |
parent | Merge branch 'develop' of github.com:saturneric/GpgFrontend into develop-ci (diff) | |
download | GpgFrontend-97d13004e4f1cb33941a9be57c7e7662e223890b.tar.gz GpgFrontend-97d13004e4f1cb33941a9be57c7e7662e223890b.zip |
Improve UI & Functions
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); } |