diff options
author | Saturneric <[email protected]> | 2021-08-29 10:49:58 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-08-29 10:49:58 +0000 |
commit | daaa83549d42395161e34a40e18c3615801b1501 (patch) | |
tree | 7ae4c67a31e9eea8a7bda4719fbdac3ac2e730a9 /src/ui/FileEncryptionDialog.cpp | |
parent | Update version settings. (diff) | |
download | GpgFrontend-daaa83549d42395161e34a40e18c3615801b1501.tar.gz GpgFrontend-daaa83549d42395161e34a40e18c3615801b1501.zip |
Start to rewrite gpg core.
Diffstat (limited to '')
-rwxr-xr-x | src/ui/FileEncryptionDialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/FileEncryptionDialog.cpp b/src/ui/FileEncryptionDialog.cpp index 23ec0b2a..55c8e5f0 100755 --- a/src/ui/FileEncryptionDialog.cpp +++ b/src/ui/FileEncryptionDialog.cpp @@ -24,7 +24,7 @@ #include "ui/FileEncryptionDialog.h" -FileEncryptionDialog::FileEncryptionDialog(GpgME::GpgContext *ctx, QStringList keyList, DialogAction action, +FileEncryptionDialog::FileEncryptionDialog(GpgFrontend::GpgContext *ctx, QStringList keyList, DialogAction action, QWidget *parent) : QDialog(parent), mAction(action), mCtx(ctx){ @@ -92,13 +92,13 @@ FileEncryptionDialog::FileEncryptionDialog(GpgME::GpgContext *ctx, QStringList k if(mAction == Encrypt) mKeyList->setFilter([](const GpgKey &key) -> bool { - if(!GpgME::GpgContext::checkIfKeyCanEncr(key)) return false; + if(!GpgFrontend::GpgContext::checkIfKeyCanEncr(key)) return false; else return true; }); if(mAction == Sign) mKeyList->setFilter([](const GpgKey &key) -> bool { - if(!GpgME::GpgContext::checkIfKeyCanSign(key)) return false; + if(!GpgFrontend::GpgContext::checkIfKeyCanSign(key)) return false; else return true; }); |