summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base')
-rw-r--r--rbutil/rbutilqt/base/httpget.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/base/httpget.cpp b/rbutil/rbutilqt/base/httpget.cpp
index b226f4892a..bd15de41a9 100644
--- a/rbutil/rbutilqt/base/httpget.cpp
+++ b/rbutil/rbutilqt/base/httpget.cpp
@@ -184,6 +184,11 @@ bool HttpGet::getFile(const QUrl &url)
184 return false; 184 return false;
185 } 185 }
186 } 186 }
187 else {
188 // output to buffer. Make sure buffer is empty so no old data gets
189 // returned in case the object is reused.
190 dataBuffer.clear();
191 }
187 qDebug() << "[HTTP] downloading" << url.toEncoded(); 192 qDebug() << "[HTTP] downloading" << url.toEncoded();
188 // create request 193 // create request
189 http.setHost(url.host(), url.port(80)); 194 http.setHost(url.host(), url.port(80));