diff options
author | Saturneric <[email protected]> | 2021-05-22 15:58:59 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-05-22 15:58:59 +0000 |
commit | d9121e76c7eeb63b23a6a772d38e61b60abfe93d (patch) | |
tree | 965f9f27bba242a584b73ef4947ce54fa652390f /src/ui/VerifyNotification.cpp | |
parent | Expand and improve GpgKey; (diff) | |
download | GpgFrontend-d9121e76c7eeb63b23a6a772d38e61b60abfe93d.tar.gz GpgFrontend-d9121e76c7eeb63b23a6a772d38e61b60abfe93d.zip |
Enhance code robustness;
Improve performance for GpgKey;
Fix code defects. Makes the update response to changes in the key database directed.
Signed-off-by: Saturneric <[email protected]>
Diffstat (limited to 'src/ui/VerifyNotification.cpp')
-rw-r--r-- | src/ui/VerifyNotification.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/VerifyNotification.cpp b/src/ui/VerifyNotification.cpp index 3111a39f..b5b2c890 100644 --- a/src/ui/VerifyNotification.cpp +++ b/src/ui/VerifyNotification.cpp @@ -131,6 +131,9 @@ bool VerifyNotification::slotRefresh() { textIsSigned = 3; verifyStatus = VERIFY_ERROR_CRITICAL; GpgKey key = mCtx->getKeyById(sign->fpr); + + if(!key.good) break; + verifyLabelText.append(key.name); if (!key.email.isEmpty()) { verifyLabelText.append("<" + key.email + ">"); |