texstudio/texstudio-disable-update-check.patch

51 lines
1.9 KiB
Diff
Raw Normal View History

2018-02-11 06:54:33 +00:00
From 6647a0026bb16993707350d4829920e78918fb9e Mon Sep 17 00:00:00 2001
2015-12-16 19:39:58 +00:00
From: hannes <hannes@fedoraproject.org>
2018-02-11 06:54:33 +00:00
Date: Sun, 11 Feb 2018 07:45:11 +0100
Subject: [PATCH 3/3] update fix
2015-12-16 19:39:58 +00:00
---
2018-02-11 06:54:33 +00:00
src/configdialog.ui | 6 ++++++
src/configmanager.cpp | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
2015-12-16 19:39:58 +00:00
2018-02-11 06:54:33 +00:00
diff --git a/src/configdialog.ui b/src/configdialog.ui
index 0f3cbe6..1b11b92 100644
--- a/src/configdialog.ui
+++ b/src/configdialog.ui
@@ -578,6 +578,9 @@
2015-12-16 19:39:58 +00:00
<property name="value">
2018-02-11 06:54:33 +00:00
<number>7</number>
2015-12-16 19:39:58 +00:00
</property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
</widget>
</item>
<item row="0" column="0">
2018-02-11 06:54:33 +00:00
@@ -585,6 +588,9 @@
2015-12-16 19:39:58 +00:00
<property name="text">
<string>Automatically check every</string>
2018-02-11 06:54:33 +00:00
</property>
+ <property name="checkable">
+ <bool>false</bool>
+ </property>
2015-12-16 19:39:58 +00:00
</widget>
</item>
<item row="0" column="5">
2018-02-11 06:54:33 +00:00
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index 41f2e49..088924e 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -479,7 +479,7 @@ ConfigManager::ConfigManager(QObject *parent): QObject (parent),
2015-12-16 19:39:58 +00:00
registerOption("Thesaurus/Database", &thesaurus_database, "<dic not found>", &pseudoDialog->comboBoxThesaurusFileName);
//updates
- registerOption("Update/AutoCheck", &autoUpdateCheck, true, &pseudoDialog->checkBoxAutoUpdateCheck);
+ registerOption("Update/AutoCheck", &autoUpdateCheck, false, &pseudoDialog->checkBoxAutoUpdateCheck);
registerOption("Update/UpdateLevel", &updateLevel, 0, &pseudoDialog->comboBoxUpdateLevel);
registerOption("Update/AutoCheckInvervalDays", &autoUpdateCheckIntervalDays, 7, &pseudoDialog->spinBoxAutoUpdateCheckIntervalDays);
registerOption("Update/LastCheck", &lastUpdateCheck, QDateTime());
--
2018-02-11 06:54:33 +00:00
2.14.3
2015-12-16 19:39:58 +00:00