void-packages/srcpkgs/texstudio/patches/30-disable-auto-update.patch

32 lines
1.4 KiB
Diff

diff --git a/src/configdialog.ui b/src/configdialog.ui
index f08ca462f..ef8a83e91 100644
--- a/src/configdialog.ui
+++ b/src/configdialog.ui
@@ -500,6 +500,9 @@
</item>
<item>
<widget class="QGroupBox" name="groupBox_Update">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="title">
<string>Update</string>
</property>
diff --git a/src/configmanager.cpp b/src/configmanager.cpp
index a67f28cfa..80622ecea 100644
--- a/src/configmanager.cpp
+++ b/src/configmanager.cpp
@@ -508,10 +508,12 @@ ConfigManager::ConfigManager(QObject *parent): QObject (parent),
registerOption("Macros/RepositoryURL", &URLmacroRepository, "https://api.github.com/repos/texstudio-org/texstudio-macro/contents/", nullptr);
//updates
+ /*
registerOption("Update/AutoCheck", &autoUpdateCheck, true, &pseudoDialog->checkBoxAutoUpdateCheck);
registerOption("Update/UpdateLevel", &updateLevel, 0, &pseudoDialog->comboBoxUpdateLevel);
registerOption("Update/AutoCheckInvervalDays", &autoUpdateCheckIntervalDays, 7, &pseudoDialog->spinBoxAutoUpdateCheckIntervalDays);
registerOption("Update/LastCheck", &lastUpdateCheck, QDateTime());
+ */
//editor
registerOption("Editor/WordWrapMode", &editorConfig->wordwrap, 1, &pseudoDialog->comboBoxLineWrap);