aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/function/CtxCheckThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/function/CtxCheckThread.cpp')
-rw-r--r--src/ui/function/CtxCheckThread.cpp4
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();