summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/installzip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/installzip.cpp')
-rw-r--r--rbutil/rbutilqt/installzip.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/installzip.cpp b/rbutil/rbutilqt/installzip.cpp
index 641b057175..3948e7ea75 100644
--- a/rbutil/rbutilqt/installzip.cpp
+++ b/rbutil/rbutilqt/installzip.cpp
@@ -25,7 +25,7 @@
25ZipInstaller::ZipInstaller(QObject* parent): QObject(parent) 25ZipInstaller::ZipInstaller(QObject* parent): QObject(parent)
26{ 26{
27 m_unzip = true; 27 m_unzip = true;
28 m_cache = ""; 28 m_usecache = false;
29} 29}
30 30
31 31
@@ -86,10 +86,8 @@ void ZipInstaller::installStart()
86 downloadFile->close(); 86 downloadFile->close();
87 // get the real file. 87 // get the real file.
88 getter = new HttpGet(this); 88 getter = new HttpGet(this);
89 getter->setProxy(m_proxy); 89 if(m_usecache) {
90 if(m_cache.exists()) { 90 getter->setCache(true);
91 getter->setCache(m_cache);
92
93 } 91 }
94 getter->setFile(downloadFile); 92 getter->setFile(downloadFile);
95 getter->getFile(QUrl(m_url)); 93 getter->getFile(QUrl(m_url));