aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyUIDSignDialog.cpp
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2021-08-23 12:20:22 +0000
committerGitHub <[email protected]>2021-08-23 12:20:22 +0000
commitcfc3f9545e713dc9378108b88d3dc97fd168a572 (patch)
treecb0ef59b60f1a0ebc70156fe1bb6a22c205497c3 /src/ui/keypair_details/KeyUIDSignDialog.cpp
parentMerge pull request #15 from saturneric/develop (diff)
parentFix a discovered problem. (diff)
downloadGpgFrontend-cfc3f9545e713dc9378108b88d3dc97fd168a572.tar.gz
GpgFrontend-cfc3f9545e713dc9378108b88d3dc97fd168a572.zip
Merge pull request #22 from saturneric/develop
Diffstat (limited to 'src/ui/keypair_details/KeyUIDSignDialog.cpp')
-rw-r--r--src/ui/keypair_details/KeyUIDSignDialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/keypair_details/KeyUIDSignDialog.cpp b/src/ui/keypair_details/KeyUIDSignDialog.cpp
index f112ea25..9232cfce 100644
--- a/src/ui/keypair_details/KeyUIDSignDialog.cpp
+++ b/src/ui/keypair_details/KeyUIDSignDialog.cpp
@@ -89,13 +89,12 @@ void KeyUIDSignDialog::slotSignKey(bool clicked) {
// Set Signers
QVector<GpgKey> keys;
mKeyList->getCheckedKeys(keys);
- mCtx->setSigners(keys);
const auto expires = expiresEdit->dateTime();
for(const auto &uid : mUids) {
// Sign For mKey
- if (!mCtx->signKey(mKey, uid.uid, &expires)) {
+ if (!mCtx->signKey(mKey, keys, uid.uid, &expires)) {
QMessageBox::critical(nullptr,
tr("Unsuccessful Operation"),
QString(tr("Signature operation failed for UID ") + "%1")