diff options
author | Saturneric <[email protected]> | 2022-05-07 17:01:29 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-05-07 17:01:29 +0000 |
commit | f1a2ce4bcb7d46981d1fc471e517709f076d9365 (patch) | |
tree | e9d42769dccaf452ba14394e0e0fe574fcd086dd /src/ui/thread/CtxCheckThread.cpp | |
parent | fix: add openssl dependency for windows ci (diff) | |
download | GpgFrontend-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(); |