aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/details/VerifyDetailsDialog.cpp
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2021-12-07 08:37:54 +0000
committerGitHub <[email protected]>2021-12-07 08:37:54 +0000
commitcc89ad54ab3dd4aeb3ed7afeed59a80b6e61649c (patch)
tree865d2298d836c8eb36584b5d268325bca4a66a78 /src/ui/details/VerifyDetailsDialog.cpp
parentMerge pull request #26 from saturneric/develop (diff)
parentFix Bugs on KeyUploadDialog (diff)
downloadGpgFrontend-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);
}