summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/httpget.cpp2
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)
qDebug() << "[HTTP] Error: URL has no path" << endl;
return false;
}
+ m_serverTimestamp = QDateTime();
// if no output file was set write to buffer
if(!outputToBuffer) {
if (!outputFile->open(QIODevice::ReadWrite)) {
@@ -304,7 +305,6 @@ void HttpGet::httpDone(bool error)
c.close();
}
- m_serverTimestamp = QDateTime();
// take care of concurring requests. If there is still one running,
// don't emit done(). That request will call this slot again.
if(http.currentId() == 0 && !http.hasPendingRequests())