aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_ver_check/SoftwareVersion.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-06-19 00:28:38 +0000
committersaturneric <[email protected]>2025-06-19 00:28:38 +0000
commit9be621693d3b16988b40f5c83f40273d4e8cd5bc (patch)
treeb89da7013b854b9e977a3a7ba51f38e818ff8d96 /src/m_ver_check/SoftwareVersion.cpp
parentfeat(i18n): complete translations for german, french and chinese (diff)
downloadModules-9be621693d3b16988b40f5c83f40273d4e8cd5bc.tar.gz
Modules-9be621693d3b16988b40f5c83f40273d4e8cd5bc.zip
fix(version-check): correct git commit hash url and improve version check
- fix incorrect git commit hash url in BKTUSVersionCheckTask - add cache saving for upgrade versions in both check tasks - improve commit hash parsing in GitHubVersionCheckTask - remove debug logging from SoftwareVersion::NeedUpgrade
Diffstat (limited to 'src/m_ver_check/SoftwareVersion.cpp')
-rw-r--r--src/m_ver_check/SoftwareVersion.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/m_ver_check/SoftwareVersion.cpp b/src/m_ver_check/SoftwareVersion.cpp
index c6dbf6e..b868af1 100644
--- a/src/m_ver_check/SoftwareVersion.cpp
+++ b/src/m_ver_check/SoftwareVersion.cpp
@@ -39,13 +39,6 @@
#include "GFModuleCommonUtils.hpp"
auto SoftwareVersion::NeedUpgrade() const -> bool {
- MLogDebug(QString("compare version current: %1 latest %2, result: %3")
- .arg(current_version)
- .arg(latest_version)
- .arg(GFCompareSoftwareVersion(
- GFModuleStrDup(current_version.toUtf8()),
- GFModuleStrDup(latest_version.toUtf8()))));
-
return !latest_version.isEmpty() &&
GFCompareSoftwareVersion(GFModuleStrDup(current_version.toUtf8()),
GFModuleStrDup(latest_version.toUtf8())) < 0;