summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-05-11 20:25:35 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-05-11 20:25:35 +0000
commitda8552ff094132a3280829c4e9c39abcd909561f (patch)
tree2732dd1ce1d19ac057ec60c1c01eef0febd02434 /rbutil
parent4296bc454871ff62476e3dbe56ca0f43c54eff8a (diff)
downloadrockbox-da8552ff094132a3280829c4e9c39abcd909561f.tar.gz
rockbox-da8552ff094132a3280829c4e9c39abcd909561f.tar.bz2
rockbox-da8552ff094132a3280829c4e9c39abcd909561f.zip
When setting a cache path also enable the cache implicitly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17467 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/installzip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/installzip.h b/rbutil/rbutilqt/installzip.h
index ece5d88072..63de08e2c9 100644
--- a/rbutil/rbutilqt/installzip.h
+++ b/rbutil/rbutilqt/installzip.h
@@ -45,9 +45,9 @@ public:
void setLogVersion(QStringList v) { m_verlist = v; qDebug() << m_verlist;}
void setUnzip(bool i) { m_unzip = i; }
void setTarget(QString t) { m_target = t; }
- void setCache(QDir c) { m_cache = c; };
+ void setCache(QDir c) { m_cache = c; m_usecache = true; };
void setCache(bool c) { m_usecache = c; };
- void setCache(QString c) { m_cache = QDir(c);}
+ void setCache(QString c) { m_cache = QDir(c); m_usecache = true; }
signals:
void done(bool error);