aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/MainWindowSlotFunction.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-05-01 09:32:25 +0000
committersaturneric <[email protected]>2025-05-01 09:32:25 +0000
commitb7ad78faf6ef31e677981646798cbf3d45dda598 (patch)
tree32dfa2c3df273c31efee8b699d7d58c32e40bf5a /src/ui/main_window/MainWindowSlotFunction.cpp
parentfix: tacking modules repo (diff)
downloadGpgFrontend-b7ad78faf6ef31e677981646798cbf3d45dda598.tar.gz
GpgFrontend-b7ad78faf6ef31e677981646798cbf3d45dda598.zip
feat: ad cmake option GPGFRONTEND_CHECK_RELEASE_COMMIT_HASH
Diffstat (limited to 'src/ui/main_window/MainWindowSlotFunction.cpp')
-rw-r--r--src/ui/main_window/MainWindowSlotFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/main_window/MainWindowSlotFunction.cpp b/src/ui/main_window/MainWindowSlotFunction.cpp
index b19c15e8..e2473136 100644
--- a/src/ui/main_window/MainWindowSlotFunction.cpp
+++ b/src/ui/main_window/MainWindowSlotFunction.cpp
@@ -278,7 +278,7 @@ void MainWindow::slot_version_upgrade_notify() {
[=]() { (new AboutDialog(tr("Update"), this))->show(); });
statusBar()->addPermanentWidget(b);
- } else if (is_git_commit_hash_mismatch && !IsFlatpakENV()) {
+ } else if (is_git_commit_hash_mismatch && IsCheckReleaseCommitHash()) {
QMessageBox::information(
this, tr("Commit Hash Mismatch"),
tr("The current version's commit hash does not match the official "