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. --
This commit is contained in:
parent
e12861f18c
commit
540e7bf3d4
@ -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);
|
||||
}
|
||||
|
||||
|
@ -71,7 +71,7 @@ static bool subkeyIsOk(const Subkey s)
|
||||
static QGpgMEKeyForMailboxJob::result_type do_work(Context *ctx, const QString &mailbox, bool canEncrypt)
|
||||
{
|
||||
/* Do a Keylisting. */
|
||||
ctx->setKeyListMode(GpgME::Extern | GpgME::Local | GpgME::Signatures | GpgME::Validate);
|
||||
ctx->setKeyListMode(GpgME::Locate | GpgME::Signatures | GpgME::Validate);
|
||||
std::vector<Key> keys;
|
||||
QGpgMEKeyListJob *keylist = new QGpgMEKeyListJob(ctx);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user