aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-06-19 01:44:00 +0000
committersaturneric <[email protected]>2025-06-19 01:44:00 +0000
commite4751c325b07dc32b54f53c743d9bc23d933e5bd (patch)
tree84f5a9cc8da98e9dc66ed599f9d960ad086a57b3
parentfix(version-check): correct git commit hash url and improve version check (diff)
downloadModules-e4751c325b07dc32b54f53c743d9bc23d933e5bd.tar.gz
Modules-e4751c325b07dc32b54f53c743d9bc23d933e5bd.zip
fix(UpdateTab): correct condition for showing unpublished commit message
- fix logic error in version status check - show warning when commit hash is not found in remote - previously showed warning when hash was found (inverse of intended behavior)
-rw-r--r--src/m_ver_check/UpdateTab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_ver_check/UpdateTab.cpp b/src/m_ver_check/UpdateTab.cpp
index 7f4a321..b28ccf3 100644
--- a/src/m_ver_check/UpdateTab.cpp
+++ b/src/m_ver_check/UpdateTab.cpp
@@ -194,7 +194,7 @@ void UpdateTab::slot_show_version_status() {
"</center>");
upgrade_label_->show();
upgrade_info_box_->show();
- } else if (is_current_commit_hash_publish_in_remote != 0) {
+ } else if (is_current_commit_hash_publish_in_remote == 0) {
upgrade_label_->setText(
"<center>" +
tr("The commit hash for this build was not found in the official "