File: 0001-Disable-automatic-update-checking-by-default.patch

package info (click to toggle)
flameshot 12.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 22,864 kB
  • sloc: cpp: 25,007; sh: 532; python: 198; xml: 85; makefile: 19
file content (24 lines) | stat: -rw-r--r-- 1,252 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Boyuan Yang <byang@debian.org>
Date: Sat, 18 Jun 2022 10:07:41 -0400
Subject: Disable automatic update checking by default

Forwarded: https://github.com/flameshot-org/flameshot/issues/1706
Bug-Debian: https://bugs.debian.org/991392
Last-Update: 2022-06-18
---
 src/utils/confighandler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils/confighandler.cpp b/src/utils/confighandler.cpp
index 657e896..e19dbdb 100644
--- a/src/utils/confighandler.cpp
+++ b/src/utils/confighandler.cpp
@@ -79,7 +79,7 @@ static QMap<class QString, QSharedPointer<ValueHandler>>
     OPTION("showDesktopNotification"     ,Bool               ( true          )),
     OPTION("disabledTrayIcon"            ,Bool               ( false         )),
     OPTION("historyConfirmationToDelete" ,Bool               ( true          )),
-    OPTION("checkForUpdates"             ,Bool               ( true          )),
+    OPTION("checkForUpdates"             ,Bool               ( false          )),
     OPTION("allowMultipleGuiInstances"   ,Bool               ( false         )),
     OPTION("showMagnifier"               ,Bool               ( false         )),
     OPTION("squareMagnifier"             ,Bool               ( false         )),