summaryrefslogtreecommitdiff
path: root/deskutils/owncloudclient/files/patch-src_gui_generalsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/owncloudclient/files/patch-src_gui_generalsettings.cpp')
-rw-r--r--deskutils/owncloudclient/files/patch-src_gui_generalsettings.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/deskutils/owncloudclient/files/patch-src_gui_generalsettings.cpp b/deskutils/owncloudclient/files/patch-src_gui_generalsettings.cpp
new file mode 100644
index 000000000000..33e0851414aa
--- /dev/null
+++ b/deskutils/owncloudclient/files/patch-src_gui_generalsettings.cpp
@@ -0,0 +1,23 @@
+--- src/gui/generalsettings.cpp.orig 2015-03-16 14:28:58 UTC
++++ src/gui/generalsettings.cpp
+@@ -85,6 +85,7 @@ void GeneralSettings::loadMiscSettings()
+
+ void GeneralSettings::slotUpdateInfo()
+ {
++#if 0
+ if (OCUpdater *updater = dynamic_cast<OCUpdater*>(Updater::instance()))
+ {
+ connect(updater, SIGNAL(downloadStateChanged()), SLOT(slotUpdateInfo()), Qt::UniqueConnection);
+@@ -93,9 +94,12 @@ void GeneralSettings::slotUpdateInfo()
+ _ui->updateStateLabel->setText(updater->statusString());
+ _ui->restartButton->setVisible(updater->downloadState() == OCUpdater::DownloadComplete);
+ } else {
++#endif
+ // can't have those infos from sparkle currently
+ _ui->updatesGroupBox->setVisible(false);
++#if 0
+ }
++#endif
+ }
+
+ void GeneralSettings::saveMiscSettings()