aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindow.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-04-21 19:49:04 +0000
committersaturneric <[email protected]>2024-04-21 19:49:04 +0000
commit571a2906063739067e40a02aadd8c265082359de (patch)
tree5ac57f777ec38f6a5f328da4e3df6ad6cc010aff /src/ui/main_window/MainWindow.cpp
parentfix: could not determine the path to the executable based on the desktop file (diff)
parentfeat: adapt linux appimage of modules loading (diff)
downloadGpgFrontend-571a2906063739067e40a02aadd8c265082359de.tar.gz
GpgFrontend-571a2906063739067e40a02aadd8c265082359de.zip
Merge branch 'dev/2.1.2/module' into develop
Diffstat (limited to '')
-rw-r--r--src/ui/main_window/MainWindow.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ui/main_window/MainWindow.cpp b/src/ui/main_window/MainWindow.cpp
index a7bd63d8..e1c355c4 100644
--- a/src/ui/main_window/MainWindow.cpp
+++ b/src/ui/main_window/MainWindow.cpp
@@ -33,11 +33,11 @@
#include "core/function/GlobalSettingStation.h"
#include "core/function/gpg/GpgAdvancedOperator.h"
#include "core/model/GpgPassphraseContext.h"
+#include "core/model/SettingsObject.h"
#include "core/module/ModuleManager.h"
#include "ui/UISignalStation.h"
#include "ui/main_window/GeneralMainWindow.h"
-#include "ui/struct/SettingsObject.h"
-#include "ui/struct/settings/KeyServerSO.h"
+#include "ui/struct/settings_object/KeyServerSO.h"
#include "ui/widgets/KeyList.h"
#include "ui/widgets/TextEdit.h"
@@ -131,8 +131,7 @@ void MainWindow::Init() noexcept {
edit_->CurTextPage()->setFocus();
Module::ListenRTPublishEvent(
- this, "com.bktus.gpgfrontend.module.integrated.version-checking",
- "version.loading_done",
+ this, kVersionCheckingModuleID, "version.loading_done",
[=](Module::Namespace, Module::Key, int, std::any) {
GF_UI_LOG_DEBUG(
"versionchecking version.loading_done changed, calling slot "