aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/thread/CtxCheckThread.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-05-07 17:01:29 +0000
committerSaturneric <[email protected]>2022-05-07 17:01:29 +0000
commitf1a2ce4bcb7d46981d1fc471e517709f076d9365 (patch)
treee9d42769dccaf452ba14394e0e0fe574fcd086dd /src/ui/thread/CtxCheckThread.cpp
parentfix: add openssl dependency for windows ci (diff)
downloadGpgFrontend-f1a2ce4bcb7d46981d1fc471e517709f076d9365.tar.gz
GpgFrontend-f1a2ce4bcb7d46981d1fc471e517709f076d9365.zip
refactor: develop 2.0.6 start
1. delete smtp ability 2. change libs link type to dramatic
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();