aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/thread/CtxCheckTask.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-25 14:28:25 +0000
committersaturneric <[email protected]>2023-10-25 14:28:25 +0000
commitb7ceed0b87752077fe19fefe9b0df8ec27ce0531 (patch)
tree51cb5f2a9210dabaa585b65d085f336cc5f0f844 /src/core/thread/CtxCheckTask.cpp
parentfix: solve some code tidy issues (diff)
downloadGpgFrontend-b7ceed0b87752077fe19fefe9b0df8ec27ce0531.tar.gz
GpgFrontend-b7ceed0b87752077fe19fefe9b0df8ec27ce0531.zip
feat: moving gnupg info gathering logic to a new module
Diffstat (limited to 'src/core/thread/CtxCheckTask.cpp')
-rw-r--r--src/core/thread/CtxCheckTask.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/thread/CtxCheckTask.cpp b/src/core/thread/CtxCheckTask.cpp
index 3a248303..cfaea461 100644
--- a/src/core/thread/CtxCheckTask.cpp
+++ b/src/core/thread/CtxCheckTask.cpp
@@ -34,15 +34,15 @@
#include "core/function/gpg/GpgKeyGetter.h"
#include "thread/Task.h"
-GpgFrontend::Thread::CtxCheckTask::CtxCheckTask() : Task("ctx_check_task") {
- connect(this, &CtxCheckTask::SignalGnupgNotInstall,
+GpgFrontend::Thread::CoreInitTask::CoreInitTask() : Task("ctx_check_task") {
+ connect(this, &CoreInitTask::SignalGnupgNotInstall,
CoreCommonUtil::GetInstance(),
&CoreCommonUtil::SignalGnupgNotInstall);
}
-void GpgFrontend::Thread::CtxCheckTask::Run() {
+void GpgFrontend::Thread::CoreInitTask::Run() {
// Init GpgFrontend Core
- init_gpgfrontend_core();
+ InitGpgFrontendCore();
// Create & Check Gnupg Context Status
if (!GpgContext::GetInstance().good()) {