Lines 1-14
Link Here
|
1 |
--- src/gui/generalsettings.cpp.orig 2015-03-16 14:28:58 UTC |
1 |
--- src/gui/generalsettings.cpp.orig 2015-09-01 13:50:21 UTC |
2 |
+++ src/gui/generalsettings.cpp |
2 |
+++ src/gui/generalsettings.cpp |
3 |
@@ -85,6 +85,7 @@ void GeneralSettings::loadMiscSettings() |
3 |
@@ -105,6 +105,7 @@ void GeneralSettings::loadMiscSettings() |
4 |
|
4 |
|
5 |
void GeneralSettings::slotUpdateInfo() |
5 |
void GeneralSettings::slotUpdateInfo() |
6 |
{ |
6 |
{ |
7 |
+#if 0 |
7 |
+#if 0 |
8 |
if (OCUpdater *updater = dynamic_cast<OCUpdater*>(Updater::instance())) |
8 |
if (OCUpdater *updater = dynamic_cast<OCUpdater*>(Updater::instance())) { |
9 |
{ |
|
|
10 |
connect(updater, SIGNAL(downloadStateChanged()), SLOT(slotUpdateInfo()), Qt::UniqueConnection); |
9 |
connect(updater, SIGNAL(downloadStateChanged()), SLOT(slotUpdateInfo()), Qt::UniqueConnection); |
11 |
@@ -93,9 +94,12 @@ void GeneralSettings::slotUpdateInfo() |
10 |
connect(_ui->restartButton, SIGNAL(clicked()), updater, SLOT(slotStartInstaller()), Qt::UniqueConnection); |
|
|
11 |
@@ -112,9 +113,12 @@ void GeneralSettings::slotUpdateInfo() |
12 |
_ui->updateStateLabel->setText(updater->statusString()); |
12 |
_ui->updateStateLabel->setText(updater->statusString()); |
13 |
_ui->restartButton->setVisible(updater->downloadState() == OCUpdater::DownloadComplete); |
13 |
_ui->restartButton->setVisible(updater->downloadState() == OCUpdater::DownloadComplete); |
14 |
} else { |
14 |
} else { |