aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-02-16 12:36:01 +0000
committersaturneric <[email protected]>2025-02-16 12:36:01 +0000
commit6b0ca127c868e0c132dd79c59ea038b60b722e33 (patch)
tree6fb44df5b56b49d1e4cd15a06b472e34421e03fa
parentchore: upgrade to v2.1.7 (diff)
downloadModules-6b0ca127c868e0c132dd79c59ea038b60b722e33.tar.gz
Modules-6b0ca127c868e0c132dd79c59ea038b60b722e33.zip
fix: do not show commit hash mismatch in flatpak container
-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 acd1cdf..a835fb1 100644
--- a/src/m_ver_check/UpdateTab.cpp
+++ b/src/m_ver_check/UpdateTab.cpp
@@ -192,7 +192,7 @@ void UpdateTab::slot_show_version_status() {
"</center>");
upgrade_label_->show();
upgrade_info_box_->show();
- } else if (is_git_commit_hash_mismatch != 0) {
+ } else if (is_git_commit_hash_mismatch != 0 && !GFIsFlatpakENV()) {
upgrade_label_->setText(
"<center>" +
tr("The current version's commit hash does not match the official "