1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Kentaro Hayashi <kenhys@xdump.org>
Date: Sat, 9 Aug 2025 20:00:58 +0900
Subject: Always disable update check on startup
Forwarded: not-needed
Author: Kentaro HAYASHI <kenhys@xdump.org>
---
src/lib/gui/MainWindow.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lib/gui/MainWindow.cpp b/src/lib/gui/MainWindow.cpp
index ba1c821..0739838 100644
--- a/src/lib/gui/MainWindow.cpp
+++ b/src/lib/gui/MainWindow.cpp
@@ -672,6 +672,8 @@ void MainWindow::open()
const auto kCriticalDialogDelay = 100;
QTimer::singleShot(kCriticalDialogDelay, this, &messages::raiseCriticalDialog);
+ // Always disable update check on startup
+ Settings::setValue(Settings::Gui::AutoUpdateCheck, false);
if (!Settings::value(Settings::Gui::AutoUpdateCheck).isValid()) {
Settings::setValue(Settings::Gui::AutoUpdateCheck, messages::showUpdateCheckOption(this));
}
|