aboutsummaryrefslogtreecommitdiffstats
path: root/src/module/integrated/version_checking_module/SoftwareVersion.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-10-30 06:52:29 +0000
committersaturneric <[email protected]>2023-10-30 06:52:29 +0000
commit5d7b1d5493df8723259eca0613a9ce0af6077289 (patch)
tree12c0c820e956a1182d21d5897dc85610732767fd /src/module/integrated/version_checking_module/SoftwareVersion.cpp
parentchore: add project infos in cmake config file (diff)
downloadGpgFrontend-5d7b1d5493df8723259eca0613a9ce0af6077289.tar.gz
GpgFrontend-5d7b1d5493df8723259eca0613a9ce0af6077289.zip
style: improve code style of core
Diffstat (limited to 'src/module/integrated/version_checking_module/SoftwareVersion.cpp')
-rw-r--r--src/module/integrated/version_checking_module/SoftwareVersion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/module/integrated/version_checking_module/SoftwareVersion.cpp b/src/module/integrated/version_checking_module/SoftwareVersion.cpp
index 56993fb8..48bf7039 100644
--- a/src/module/integrated/version_checking_module/SoftwareVersion.cpp
+++ b/src/module/integrated/version_checking_module/SoftwareVersion.cpp
@@ -35,14 +35,14 @@ namespace GpgFrontend::Module::Integrated::VersionCheckingModule {
bool VersionCheckingModule::SoftwareVersion::NeedUpgrade() const {
MODULE_LOG_DEBUG("compair version current {} latest {}, result {}",
current_version, latest_version,
- software_version_compare(current_version, latest_version));
+ CompareSoftwareVersion(current_version, latest_version));
MODULE_LOG_DEBUG("load done: {}, pre-release: {}, draft: {}", loading_done,
latest_prerelease_version_from_remote,
latest_draft_from_remote);
return loading_done && !latest_prerelease_version_from_remote &&
!latest_draft_from_remote &&
- software_version_compare(current_version, latest_version) < 0;
+ CompareSoftwareVersion(current_version, latest_version) < 0;
}
bool VersionCheckingModule::SoftwareVersion::VersionWithdrawn() const {