summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2013-01-13 19:45:29 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-01-13 19:45:29 +0100
commit1f1826e39c2e9c8b548017153b34ab8d68bb8d03 (patch)
treedd44d964f0c0e2c1f0b890d1a1bc5388ffdd44a2 /rbutil/rbutilqt/rbutilqt.cpp
parentd608fd604b4a3c0f0f9ba9dc3bcce7aae6c557f7 (diff)
downloadrockbox-1f1826e39c2e9c8b548017153b34ab8d68bb8d03.tar.gz
rockbox-1f1826e39c2e9c8b548017153b34ab8d68bb8d03.tar.bz2
rockbox-1f1826e39c2e9c8b548017153b34ab8d68bb8d03.zip
Remove Rockbox Utility Offline Mode.
Offline Mode was intended to allow performing an installation without network access. However, to get the required files cached the same installation has to be performed with network access, which is a rather strange prerequisite. A better way would be a way to direct Rockbox Utility to some local "repository" that holds the required files. Furthermore, Offline Mode hasn't been tested since long and is likely to be broken since the caching mechanism has been extended. For now remove this functionality. As far as I know it's been rarely used (if at all) anyway. Change-Id: Ib2af4892708e0440bd0a7940c131f04182ddb39a
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index 0b94ba4c10..05af8c5ac7 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -210,10 +210,7 @@ void RbUtilQt::downloadInfo()
daily = new HttpGet(this);
connect(daily, SIGNAL(done(bool)), this, SLOT(downloadDone(bool)));
connect(qApp, SIGNAL(lastWindowClosed()), daily, SLOT(abort()));
- if(RbSettings::value(RbSettings::CacheOffline).toBool())
- daily->setCache(true);
- else
- daily->setCache(false);
+ daily->setCache(false);
ui.statusbar->showMessage(tr("Downloading build information, please wait ..."));
qDebug() << "[RbUtil] downloading build info";
daily->setFile(&buildInfo);
@@ -311,7 +308,6 @@ void RbUtilQt::updateSettings()
manual->updateManual();
HttpGet::setGlobalProxy(proxy());
HttpGet::setGlobalCache(RbSettings::value(RbSettings::CachePath).toString());
- HttpGet::setGlobalDumbCache(RbSettings::value(RbSettings::CacheOffline).toBool());
if(RbSettings::value(RbSettings::RbutilVersion) != PUREVERSION) {
QApplication::processEvents();
@@ -645,8 +641,6 @@ void RbUtilQt::checkUpdate(void)
update = new HttpGet(this);
connect(update, SIGNAL(done(bool)), this, SLOT(downloadUpdateDone(bool)));
connect(qApp, SIGNAL(lastWindowClosed()), update, SLOT(abort()));
- if(RbSettings::value(RbSettings::CacheOffline).toBool())
- update->setCache(true);
ui.statusbar->showMessage(tr("Checking for update ..."));
update->getFile(QUrl(url));