summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-06-02 21:46:23 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-06-02 21:46:23 +0000
commit0d83a188cc70ba8e474f165aa7515786c72db708 (patch)
tree84b56019ef21ad999a895e26a88a865e4a3c03bf /rbutil
parent44bc9157ee5437bd36abbbe483e1e0e81c15b839 (diff)
downloadrockbox-0d83a188cc70ba8e474f165aa7515786c72db708.tar.gz
rockbox-0d83a188cc70ba8e474f165aa7515786c72db708.tar.bz2
rockbox-0d83a188cc70ba8e474f165aa7515786c72db708.zip
Don't invalidate the server timestamp variable when download finishes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17681 a1c6a512-1295-4272-9138-f99709370657
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())