aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindowSlotFunction.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-11-29 09:49:54 +0000
committerSaturneric <[email protected]>2023-11-29 09:49:54 +0000
commit9d16c9d5dfcd1171d713c3ba87a69d0f0fac4f33 (patch)
tree3e85ce5236d134b59d70277cf0cb713561aa2a53 /src/ui/main_window/MainWindowSlotFunction.cpp
parentstyle: tidy up core/model (diff)
downloadGpgFrontend-9d16c9d5dfcd1171d713c3ba87a69d0f0fac4f33.tar.gz
GpgFrontend-9d16c9d5dfcd1171d713c3ba87a69d0f0fac4f33.zip
fix: repair gnupg info listing funtion
Diffstat (limited to '')
-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(