aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/GpgFrontendUIInit.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/ui/GpgFrontendUIInit.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/ui/GpgFrontendUIInit.cpp')
-rw-r--r--src/ui/GpgFrontendUIInit.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/GpgFrontendUIInit.cpp b/src/ui/GpgFrontendUIInit.cpp
index c3bbbfd2..573baec1 100644
--- a/src/ui/GpgFrontendUIInit.cpp
+++ b/src/ui/GpgFrontendUIInit.cpp
@@ -134,7 +134,7 @@ void InitGpgFrontendUI(QApplication* app) {
}
// create the thread to load the gpg context
- auto* init_ctx_task = new Thread::CtxCheckTask();
+ auto* init_ctx_task = new Thread::CoreInitTask();
// create and show loading window before starting the main window
auto* waiting_dialog = new QProgressDialog();
@@ -149,7 +149,7 @@ void InitGpgFrontendUI(QApplication* app) {
waiting_dialog_label->setWordWrap(true);
waiting_dialog->setLabel(waiting_dialog_label);
waiting_dialog->resize(420, 120);
- app->connect(init_ctx_task, &Thread::CtxCheckTask::SignalTaskEnd,
+ app->connect(init_ctx_task, &Thread::CoreInitTask::SignalTaskEnd,
waiting_dialog, [=]() {
SPDLOG_DEBUG("gpg context loaded");
waiting_dialog->finished(0);
@@ -169,7 +169,7 @@ void InitGpgFrontendUI(QApplication* app) {
// new local event looper
QEventLoop looper;
- app->connect(init_ctx_task, &Thread::CtxCheckTask::SignalTaskEnd, &looper,
+ app->connect(init_ctx_task, &Thread::CoreInitTask::SignalTaskEnd, &looper,
&QEventLoop::quit);
// start the thread to load the gpg context