2023-03-21 17:19:28 -04:00
|
|
|
Remove Check updates button and Auto check updates option.
|
|
|
|
Upstream status: Guix-specific, not forwarded upstream.
|
|
|
|
|
|
|
|
diff --git a/src/dialogoptions.cpp b/src/dialogoptions.cpp
|
|
|
|
index 704e75c..bb3f9b0 100755
|
|
|
|
--- a/src/dialogoptions.cpp
|
|
|
|
+++ b/src/dialogoptions.cpp
|
|
|
|
@@ -71,23 +71,10 @@ void DialogOptions::setOverwriteMode()
|
|
|
|
IniSettings::setOverwriteMode(true);
|
|
|
|
}
|
|
|
|
|
|
|
|
-void DialogOptions::setAutoUpdates()
|
|
|
|
-{
|
|
|
|
- bool enabled;
|
|
|
|
-
|
|
|
|
- if (checkCheckUpdates->isChecked())
|
|
|
|
- enabled = true;
|
|
|
|
- else
|
|
|
|
- enabled = false;
|
|
|
|
-
|
|
|
|
- IniSettings::setAutoChechUpdates(enabled);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
void DialogOptions::saveOptions()
|
|
|
|
{
|
|
|
|
setLanguage();
|
|
|
|
setOverwriteMode();
|
|
|
|
- setAutoUpdates();
|
|
|
|
|
|
|
|
IniSettings::settings->sync();
|
|
|
|
accept();
|
|
|
|
@@ -102,12 +89,6 @@ void DialogOptions::loadSettings()
|
|
|
|
else
|
|
|
|
radioAskFirst->setChecked(true);
|
|
|
|
|
|
|
|
- bool autoUpdates = IniSettings::isAutoChechUpdates();
|
|
|
|
- if (autoUpdates)
|
|
|
|
- checkCheckUpdates->setCheckState(Qt::Checked);
|
|
|
|
- else
|
|
|
|
- checkCheckUpdates->setCheckState(Qt::Unchecked);
|
|
|
|
-
|
|
|
|
Translator t;
|
|
|
|
|
|
|
|
int idx = comboLangs->findText(t.currentLanguage(), Qt::MatchExactly);
|
|
|
|
diff --git a/src/mainwindowimpl.cpp b/src/mainwindowimpl.cpp
|
2023-10-11 08:59:41 -04:00
|
|
|
index 6562e35..d19bc28 100755
|
2023-03-21 17:19:28 -04:00
|
|
|
--- a/src/mainwindowimpl.cpp
|
|
|
|
+++ b/src/mainwindowimpl.cpp
|
2023-10-11 08:59:41 -04:00
|
|
|
@@ -163,7 +163,6 @@ void MainWindowImpl::createActions()
|
2023-03-21 17:19:28 -04:00
|
|
|
connect(actionInfo, SIGNAL(triggered()), this, SLOT(about()));
|
|
|
|
connect(actionDonatePaypal, SIGNAL(triggered()), this, SLOT(openPaypalLink()));
|
|
|
|
connect(actionReportBug, SIGNAL(triggered()), this, SLOT(bugReport()));
|
|
|
|
- connect(actionCheckForUpdates, SIGNAL(triggered()), this, SLOT(checkForUpdates()));
|
2023-10-11 08:59:41 -04:00
|
|
|
connect(actionHelp, SIGNAL(triggered()), this, SLOT(onlineHelp()));
|
2023-03-21 17:19:28 -04:00
|
|
|
|
2023-10-11 08:59:41 -04:00
|
|
|
// Create first toolbar button
|
2023-03-21 17:19:28 -04:00
|
|
|
diff --git a/ui/dialogoptions.ui b/ui/dialogoptions.ui
|
|
|
|
index e59148d..6cb23f5 100755
|
|
|
|
--- a/ui/dialogoptions.ui
|
|
|
|
+++ b/ui/dialogoptions.ui
|
|
|
|
@@ -66,22 +66,6 @@
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
- <item>
|
|
|
|
- <widget class="QGroupBox" name="groupBox_3">
|
|
|
|
- <property name="title">
|
|
|
|
- <string>Updates</string>
|
|
|
|
- </property>
|
|
|
|
- <layout class="QVBoxLayout" name="verticalLayout_3">
|
|
|
|
- <item>
|
|
|
|
- <widget class="QCheckBox" name="checkCheckUpdates">
|
|
|
|
- <property name="text">
|
|
|
|
- <string>Checks for updates automatically</string>
|
|
|
|
- </property>
|
|
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
- </layout>
|
|
|
|
- </widget>
|
|
|
|
- </item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<item>
|
|
|
|
diff --git a/ui/mainwindow.ui b/ui/mainwindow.ui
|
2023-10-11 08:59:41 -04:00
|
|
|
index 569565f..b86fc2e 100755
|
2023-03-21 17:19:28 -04:00
|
|
|
--- a/ui/mainwindow.ui
|
|
|
|
+++ b/ui/mainwindow.ui
|
2023-10-11 08:59:41 -04:00
|
|
|
@@ -356,7 +356,6 @@
|
|
|
|
<addaction name="separator"/>
|
2023-03-21 17:19:28 -04:00
|
|
|
<addaction name="actionDonatePaypal"/>
|
|
|
|
<addaction name="separator"/>
|
|
|
|
- <addaction name="actionCheckForUpdates"/>
|
|
|
|
<addaction name="actionReportBug"/>
|
|
|
|
<addaction name="separator"/>
|
2023-10-11 08:59:41 -04:00
|
|
|
<addaction name="actionInfo"/>
|
|
|
|
@@ -1412,14 +1411,6 @@ p, li { white-space: pre-wrap; }
|
2023-03-21 17:19:28 -04:00
|
|
|
<string>Import windows icon (*.ico *.icon)</string>
|
|
|
|
</property>
|
|
|
|
</action>
|
|
|
|
- <action name="actionCheckForUpdates">
|
|
|
|
- <property name="text">
|
|
|
|
- <string>&Check for updates</string>
|
|
|
|
- </property>
|
|
|
|
- <property name="toolTip">
|
|
|
|
- <string>Check if a new version of Converseen is available</string>
|
|
|
|
- </property>
|
|
|
|
- </action>
|
2023-10-11 08:59:41 -04:00
|
|
|
<action name="actionAddDirectory">
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../resources.qrc">
|