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/KeyMgmt.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/KeyMgmt.cpp')
-rwxr-xr-x | src/ui/KeyMgmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/KeyMgmt.cpp b/src/ui/KeyMgmt.cpp index 1078778e..b1699483 100755 --- a/src/ui/KeyMgmt.cpp +++ b/src/ui/KeyMgmt.cpp @@ -233,7 +233,7 @@ void KeyMgmt::deleteKeysWithWarning(QStringList *uidList) return; } QString keynames; - foreach (QString uid, *uidList) { + for (const auto &uid : *uidList) { GpgKey key; mCtx->getKeyDetails(uid, key); keynames.append(key.name); |