aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/GpgFrontendUIInit.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/GpgFrontendUIInit.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/ui/GpgFrontendUIInit.cpp b/src/ui/GpgFrontendUIInit.cpp
index 940cf82b..6e41f81f 100644
--- a/src/ui/GpgFrontendUIInit.cpp
+++ b/src/ui/GpgFrontendUIInit.cpp
@@ -50,7 +50,6 @@ extern void init_logging_system();
extern void init_locale();
void InitGpgFrontendUI(QApplication* app) {
-
// init locale
init_locale();
@@ -88,7 +87,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::SignalTaskFinished,
+ app->connect(init_ctx_task, &Thread::CtxCheckTask::SignalTaskEnd,
waiting_dialog, [=]() {
SPDLOG_DEBUG("gpg context loaded");
waiting_dialog->finished(0);
@@ -108,8 +107,8 @@ void InitGpgFrontendUI(QApplication* app) {
// new local event looper
QEventLoop looper;
- app->connect(init_ctx_task, &Thread::CtxCheckTask::SignalTaskFinished,
- &looper, &QEventLoop::quit);
+ app->connect(init_ctx_task, &Thread::CtxCheckTask::SignalTaskEnd, &looper,
+ &QEventLoop::quit);
// start the thread to load the gpg context
Thread::TaskRunnerGetter::GetInstance().GetTaskRunner()->PostTask(
@@ -207,9 +206,10 @@ void init_locale() {
SPDLOG_DEBUG("lang from settings: {}", lang);
SPDLOG_DEBUG("project name: {}", PROJECT_NAME);
- SPDLOG_DEBUG(
- "locales path: {}",
- GpgFrontend::GlobalSettingStation::GetInstance().GetLocaleDir().u8string());
+ SPDLOG_DEBUG("locales path: {}",
+ GpgFrontend::GlobalSettingStation::GetInstance()
+ .GetLocaleDir()
+ .u8string());
#ifndef WINDOWS
if (!lang.empty()) {