aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/VerifyNotification.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-05-24 18:34:02 +0000
committerSaturneric <[email protected]>2021-05-24 18:34:02 +0000
commitd989b48429ff9e37316d3c5c523e3cf53bbf5907 (patch)
tree892f187bdc8e493a7278892757da778d81c2432c /src/ui/VerifyNotification.cpp
parentDeclare and Define getSigners; (diff)
downloadGpgFrontend-d989b48429ff9e37316d3c5c523e3cf53bbf5907.tar.gz
GpgFrontend-d989b48429ff9e37316d3c5c523e3cf53bbf5907.zip
Streamline, expand and improve the interface of GpgContext.
Fix the wrong use of the query interface for fingerprints or identifiers at VerifyKeyDetailBox.cpp and VerifyNotification.cpp. Write the processing logic and page logic for adding a signature to the key. Signed-off-by: Saturneric <[email protected]>
Diffstat (limited to '')
-rw-r--r--src/ui/VerifyNotification.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/VerifyNotification.cpp b/src/ui/VerifyNotification.cpp
index b5b2c890..9283120f 100644
--- a/src/ui/VerifyNotification.cpp
+++ b/src/ui/VerifyNotification.cpp
@@ -130,7 +130,7 @@ bool VerifyNotification::slotRefresh() {
case GPG_ERR_BAD_SIGNATURE: {
textIsSigned = 3;
verifyStatus = VERIFY_ERROR_CRITICAL;
- GpgKey key = mCtx->getKeyById(sign->fpr);
+ GpgKey key = mCtx->getKeyByFpr(sign->fpr);
if(!key.good) break;