mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
4de27da44f
* gnu/packages/image.scm (converseen): Update to 0.11.0.0. * gnu/packages/patches/converseen-hide-updates-checks.patch: Update patch.
110 lines
3.4 KiB
Diff
110 lines
3.4 KiB
Diff
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
|
|
index 6562e35..d19bc28 100755
|
|
--- a/src/mainwindowimpl.cpp
|
|
+++ b/src/mainwindowimpl.cpp
|
|
@@ -163,7 +163,6 @@ void MainWindowImpl::createActions()
|
|
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()));
|
|
connect(actionHelp, SIGNAL(triggered()), this, SLOT(onlineHelp()));
|
|
|
|
// Create first toolbar button
|
|
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
|
|
index 569565f..b86fc2e 100755
|
|
--- a/ui/mainwindow.ui
|
|
+++ b/ui/mainwindow.ui
|
|
@@ -356,7 +356,6 @@
|
|
<addaction name="separator"/>
|
|
<addaction name="actionDonatePaypal"/>
|
|
<addaction name="separator"/>
|
|
- <addaction name="actionCheckForUpdates"/>
|
|
<addaction name="actionReportBug"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionInfo"/>
|
|
@@ -1412,14 +1411,6 @@ p, li { white-space: pre-wrap; }
|
|
<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>
|
|
<action name="actionAddDirectory">
|
|
<property name="icon">
|
|
<iconset resource="../resources.qrc">
|