aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/protocol_p.h
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2022-05-02 13:59:41 +0000
committerIngo Klöcker <[email protected]>2022-05-02 14:00:43 +0000
commit540e7bf3d457a78497b6b7ac33b486b3c5b50857 (patch)
tree6ae4f576bd17f9b62d4262973bca340956f21261 /lang/qt/src/protocol_p.h
parentqt: Add job for refreshing OpenPGP keys (diff)
downloadgpgme-540e7bf3d457a78497b6b7ac33b486b3c5b50857.tar.gz
gpgme-540e7bf3d457a78497b6b7ac33b486b3c5b50857.zip
qt: Use GpgME::Locate alias
* lang/qt/src/protocol_p.h (Protocol::locateKeysJob): Use Locate alias instead of Extern|Local. * lang/qt/src/qgpgmekeyformailboxjob.cpp (do_work): Ditto. --
Diffstat (limited to 'lang/qt/src/protocol_p.h')
-rw-r--r--lang/qt/src/protocol_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/qt/src/protocol_p.h b/lang/qt/src/protocol_p.h
index 9ff62ee6..56c296c0 100644
--- a/lang/qt/src/protocol_p.h
+++ b/lang/qt/src/protocol_p.h
@@ -426,7 +426,7 @@ public:
if (!context) {
return nullptr;
}
- context->setKeyListMode(GpgME::Extern | GpgME::Local | GpgME::Signatures | GpgME::Validate);
+ context->setKeyListMode(GpgME::Locate | GpgME::Signatures | GpgME::Validate);
return new QGpgME::QGpgMEKeyListJob(context);
}