aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindowSlotFunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/main_window/MainWindowSlotFunction.cpp')
-rw-r--r--src/ui/main_window/MainWindowSlotFunction.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/ui/main_window/MainWindowSlotFunction.cpp b/src/ui/main_window/MainWindowSlotFunction.cpp
index dbcfb01e..2c1d92ac 100644
--- a/src/ui/main_window/MainWindowSlotFunction.cpp
+++ b/src/ui/main_window/MainWindowSlotFunction.cpp
@@ -810,8 +810,7 @@ void MainWindow::slot_version_upgrade_nofity() {
SPDLOG_DEBUG(
"slot version upgrade notify called, checking version info from rt...");
auto is_loading_done = Module::RetrieveRTValueTypedOrDefault<>(
- Module::GetRealModuleIdentifier(
- "com.bktus.gpgfrontend.module.integrated.versionchecking"),
+ "com.bktus.gpgfrontend.module.integrated.version-checking",
"version.loading_done", false);
SPDLOG_DEBUG("checking version info from rt, is loading done state: {}",
@@ -822,23 +821,19 @@ void MainWindow::slot_version_upgrade_nofity() {
}
auto is_need_upgrade = Module::RetrieveRTValueTypedOrDefault<>(
- Module::GetRealModuleIdentifier(
- "com.bktus.gpgfrontend.module.integrated.versionchecking"),
+ "com.bktus.gpgfrontend.module.integrated.version-checking",
"version.need_upgrade", false);
auto is_current_a_withdrawn_version = Module::RetrieveRTValueTypedOrDefault<>(
- Module::GetRealModuleIdentifier(
- "com.bktus.gpgfrontend.module.integrated.versionchecking"),
+ "com.bktus.gpgfrontend.module.integrated.version-checking",
"version.current_a_withdrawn_version", false);
auto is_current_version_released = Module::RetrieveRTValueTypedOrDefault<>(
- Module::GetRealModuleIdentifier(
- "com.bktus.gpgfrontend.module.integrated.versionchecking"),
+ "com.bktus.gpgfrontend.module.integrated.version-checking",
"version.current_version_released", false);
auto latest_version = Module::RetrieveRTValueTypedOrDefault<>(
- Module::GetRealModuleIdentifier(
- "com.bktus.gpgfrontend.module.integrated.versionchecking"),
+ "com.bktus.gpgfrontend.module.integrated.version-checking",
"version.latest_version", std::string{});
SPDLOG_DEBUG(