diff options
author | saturneric <[email protected]> | 2024-04-11 19:55:57 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-04-11 19:56:05 +0000 |
commit | e6be01ca8fdce75b2c1d5be32e0a00d4bda29b8d (patch) | |
tree | ac51625707d1c7d97c123ae3c58c8653e859dcd8 /src/ui/main_window/MainWindowSlotFunction.cpp | |
parent | refactor: reduce core prebuild headers and isolate core to modules (diff) | |
download | GpgFrontend-e6be01ca8fdce75b2c1d5be32e0a00d4bda29b8d.tar.gz GpgFrontend-e6be01ca8fdce75b2c1d5be32e0a00d4bda29b8d.zip |
fix: find and solve some issues on module management
Diffstat (limited to 'src/ui/main_window/MainWindowSlotFunction.cpp')
-rw-r--r-- | src/ui/main_window/MainWindowSlotFunction.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/main_window/MainWindowSlotFunction.cpp b/src/ui/main_window/MainWindowSlotFunction.cpp index 61c5de56..8483b578 100644 --- a/src/ui/main_window/MainWindowSlotFunction.cpp +++ b/src/ui/main_window/MainWindowSlotFunction.cpp @@ -266,7 +266,7 @@ void MainWindow::slot_version_upgrade_nofity() { GF_UI_LOG_DEBUG( "slot version upgrade notify called, checking version info from rt..."); auto is_loading_done = Module::RetrieveRTValueTypedOrDefault<>( - "com.bktus.gpgfrontend.module.integrated.version-checking", + "com.bktus.gpgfrontend.module.integrated.version_checking", "version.loading_done", false); GF_UI_LOG_DEBUG("checking version info from rt, is loading done state: {}", @@ -277,19 +277,19 @@ void MainWindow::slot_version_upgrade_nofity() { } auto is_need_upgrade = Module::RetrieveRTValueTypedOrDefault<>( - "com.bktus.gpgfrontend.module.integrated.version-checking", + "com.bktus.gpgfrontend.module.integrated.version_checking", "version.need_upgrade", false); auto is_current_a_withdrawn_version = Module::RetrieveRTValueTypedOrDefault<>( - "com.bktus.gpgfrontend.module.integrated.version-checking", + "com.bktus.gpgfrontend.module.integrated.version_checking", "version.current_a_withdrawn_version", false); auto is_current_version_released = Module::RetrieveRTValueTypedOrDefault<>( - "com.bktus.gpgfrontend.module.integrated.version-checking", + "com.bktus.gpgfrontend.module.integrated.version_checking", "version.current_version_released", false); auto latest_version = Module::RetrieveRTValueTypedOrDefault<>( - "com.bktus.gpgfrontend.module.integrated.version-checking", + "com.bktus.gpgfrontend.module.integrated.version_checking", "version.latest_version", QString{}); GF_UI_LOG_DEBUG( |