texstudio: update to 4.5.2.

This commit is contained in:
Piraty 2023-05-01 20:09:27 +02:00
parent d8aba84eed
commit f8f49a9663
No known key found for this signature in database
GPG Key ID: 82F2CC796BD07077
2 changed files with 24 additions and 19 deletions

View File

@ -1,26 +1,31 @@
#initially based on debian's patch: https://sources.debian.net/patches/texstudio/2.11.2+debian-1/
#modification: in Settings menu: disable whole groupBox instead of all single elements
diff --git a/src/configdialog.ui b/src/configdialog.ui
index f08ca462f..ef8a83e91 100644
--- a/src/configdialog.ui
+++ b/src/configdialog.ui
@@ -485,6 +485,9 @@
</item>
<item>
<widget class="QGroupBox" name="groupBox_Update">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="title">
<string>Update</string>
</property>
@@ -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
@@ -477,7 +477,7 @@
registerOption("Thesaurus/Database", &thesaurus_database, "<dic not found>", &pseudoDialog->comboBoxThesaurusFileName);
@@ -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/AutoCheck", &autoUpdateCheck, false, &pseudoDialog->checkBoxAutoUpdateCheck);
+ /*
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);

View File

@ -1,6 +1,6 @@
# Template file for 'texstudio'
pkgname=texstudio
version=4.4.1
version=4.5.2
revision=1
build_style=qmake
configure_args="USE_SYSTEM_HUNSPELL=y USE_SYSTEM_QUAZIP=y
@ -19,7 +19,7 @@ license="GPL-2.0-or-later"
homepage="https://texstudio.org/"
changelog="https://raw.githubusercontent.com/texstudio-org/texstudio/master/utilities/manual/CHANGELOG.txt"
distfiles="https://github.com/texstudio-org/texstudio/archive/${version}.tar.gz"
checksum=83c46c971081c053a01a186b4a7fbb492d75bef4070ff8fa045311eda186562b
checksum=d43dd21a111aacf57e40b0ee27c94b9923f8fdbddec5bad919596abf9a03f3cf
build_options="phonon poppler"
desc_option_phonon="build with phonon (=media support for pdf preview)"