forked from len0rd/rockbox
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
This commit is contained in:
parent
44bc9157ee
commit
0d83a188cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue