aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_ver_check/UpdateTab.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/m_ver_check/UpdateTab.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/m_ver_check/UpdateTab.cpp b/src/m_ver_check/UpdateTab.cpp
index b28ccf3..9295f6d 100644
--- a/src/m_ver_check/UpdateTab.cpp
+++ b/src/m_ver_check/UpdateTab.cpp
@@ -134,9 +134,6 @@ void UpdateTab::slot_show_version_status() {
GFModuleRetrieveRTValueOrDefaultBool(
GFGetModuleID(), DUP("version.current_version_publish_in_remote"), 0);
- auto is_git_commit_hash_mismatch = GFModuleRetrieveRTValueOrDefaultBool(
- GFGetModuleID(), DUP("version.git_commit_hash_mismatch"), 0);
-
auto is_current_commit_hash_publish_in_remote =
GFModuleRetrieveRTValueOrDefaultBool(
GFGetModuleID(), DUP("version.current_commit_hash_publish_in_remote"),
@@ -181,19 +178,6 @@ void UpdateTab::slot_show_version_status() {
"</center>");
upgrade_label_->show();
upgrade_info_box_->show();
- } else if (is_git_commit_hash_mismatch != 0 && GFIsCheckReleaseCommitHash()) {
- upgrade_label_->setText(
- "<center>" +
- tr("The current version's commit hash does not match the official "
- "release. This may indicate a modified or unofficial build.") +
- "</center><center>" + tr("Click") +
- " <a "
- "href=\"https://www.gpgfrontend.bktus.com/overview/downloads/\">" +
- tr("here") + "</a> " +
- tr("to verify your installation or download the official version.") +
- "</center>");
- upgrade_label_->show();
- upgrade_info_box_->show();
} else if (is_current_commit_hash_publish_in_remote == 0) {
upgrade_label_->setText(
"<center>" +