diff options
-rw-r--r-- | rbutil/rbutilqt/httpget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/httpget.cpp b/rbutil/rbutilqt/httpget.cpp index 488155610d..9c102f8c2c 100644 --- a/rbutil/rbutilqt/httpget.cpp +++ b/rbutil/rbutilqt/httpget.cpp | |||
@@ -178,6 +178,7 @@ bool HttpGet::getFile(const QUrl &url) | |||
178 | qDebug() << "[HTTP] Error: URL has no path" << endl; | 178 | qDebug() << "[HTTP] Error: URL has no path" << endl; |
179 | return false; | 179 | return false; |
180 | } | 180 | } |
181 | m_serverTimestamp = QDateTime(); | ||
181 | // if no output file was set write to buffer | 182 | // if no output file was set write to buffer |
182 | if(!outputToBuffer) { | 183 | if(!outputToBuffer) { |
183 | if (!outputFile->open(QIODevice::ReadWrite)) { | 184 | if (!outputFile->open(QIODevice::ReadWrite)) { |
@@ -304,7 +305,6 @@ void HttpGet::httpDone(bool error) | |||
304 | 305 | ||
305 | c.close(); | 306 | c.close(); |
306 | } | 307 | } |
307 | m_serverTimestamp = QDateTime(); | ||
308 | // take care of concurring requests. If there is still one running, | 308 | // take care of concurring requests. If there is still one running, |
309 | // don't emit done(). That request will call this slot again. | 309 | // don't emit done(). That request will call this slot again. |
310 | if(http.currentId() == 0 && !http.hasPendingRequests()) | 310 | if(http.currentId() == 0 && !http.hasPendingRequests()) |