aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/thread/CtxCheckThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/thread/CtxCheckThread.cpp (renamed from src/ui/thread/CtxCheckThread.cpp)14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/ui/thread/CtxCheckThread.cpp b/src/core/thread/CtxCheckThread.cpp
index b1e50b94..77571dfd 100644
--- a/src/ui/thread/CtxCheckThread.cpp
+++ b/src/core/thread/CtxCheckThread.cpp
@@ -24,19 +24,23 @@
*
*/
-#include "CtxCheckThread.h"
+#include "core/thread/CtxCheckThread.h"
#include "core/GpgContext.h"
#include "core/GpgCoreInit.h"
+#include "core/common/CoreCommonUtil.h"
#include "core/function/gpg/GpgKeyGetter.h"
-#include "ui/UserInterfaceUtils.h"
-GpgFrontend::UI::CtxCheckThread::CtxCheckThread() : QThread(nullptr) {
+GpgFrontend::CtxCheckThread::CtxCheckThread() : QThread(nullptr) {
connect(this, &CtxCheckThread::SignalGnupgNotInstall,
- CommonUtils::GetInstance(), &CommonUtils::SignalGnupgNotInstall);
+ CoreCommonUtil::GetInstance(),
+ &CoreCommonUtil::SignalGnupgNotInstall);
}
-void GpgFrontend::UI::CtxCheckThread::run() {
+void GpgFrontend::CtxCheckThread::run() {
+ // init logging
+ init_logging();
+
// Init GpgFrontend Core
init_gpgfrontend_core();