diff options
author | Saturneric <[email protected]> | 2022-01-02 03:40:22 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-02 03:40:22 +0000 |
commit | a056f2186de2470d4328bd1cd682e5e484af4587 (patch) | |
tree | 27775ca169ad93fc812e94a4da99ebd3fa1c53f9 /src/ui/function/CtxCheckThread.cpp | |
parent | <refactor, test>(core, test): test decryption when key not found (diff) | |
download | GpgFrontend-a056f2186de2470d4328bd1cd682e5e484af4587.tar.gz GpgFrontend-a056f2186de2470d4328bd1cd682e5e484af4587.zip |
<refactor, fixed, test>(core, ui): add & modify core and ui
1. add init functions for core.
2. add non ascii settings.
3. fit ui with this version of core.
Diffstat (limited to 'src/ui/function/CtxCheckThread.cpp')
-rw-r--r-- | src/ui/function/CtxCheckThread.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/function/CtxCheckThread.cpp b/src/ui/function/CtxCheckThread.cpp index cd184910..b51954e1 100644 --- a/src/ui/function/CtxCheckThread.cpp +++ b/src/ui/function/CtxCheckThread.cpp @@ -25,6 +25,7 @@ #include "CtxCheckThread.h" #include "gpg/GpgContext.h" +#include "gpg/GpgCoreInit.h" #include "gpg/function/GpgKeyGetter.h" #include "ui/UserInterfaceUtils.h" @@ -34,6 +35,9 @@ GpgFrontend::UI::CtxCheckThread::CtxCheckThread() : QThread(nullptr) { } void GpgFrontend::UI::CtxCheckThread::run() { + // Init GpgFrontend Core + init_gpgfrontend_core(); + // Create & Check Gnupg Context Status if (!GpgContext::GetInstance().good()) { emit signalGnupgNotInstall(); |