summaryrefslogtreecommitdiffstats
path: root/debian/patches/disable_check_for_update.patch
blob: 26fe12e7fa3d2de03e7c136c0cf658a85da4a297 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
 src/UiGuiSettings.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/UiGuiSettings.cpp
+++ b/src/UiGuiSettings.cpp
@@ -181,7 +181,7 @@ bool UiGuiSettings::initSettings()
     _qsettings->setValue( "UniversalIndentGUI/language", _availableTranslations.indexOf( _qsettings->value("UniversalIndentGUI/language", "").toString() ) );
 
     // Read the update check settings from the settings file.
-    _qsettings->setValue( "UniversalIndentGUI/CheckForUpdate", _qsettings->value("UniversalIndentGUI/CheckForUpdate", true) );
+    _qsettings->setValue( "UniversalIndentGUI/CheckForUpdate", _qsettings->value("UniversalIndentGUI/CheckForUpdate", false) );
     _qsettings->setValue( "UniversalIndentGUI/LastUpdateCheck", _qsettings->value("UniversalIndentGUI/LastUpdateCheck", QDate(1900,1,1)) );
 
     // Read the main window state.