mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Error handling fix
This commit is contained in:
parent
efdb31ddc5
commit
e3c23d0ffc
@ -73,7 +73,8 @@ void Downloader::downloadFinished(QNetworkReply *reply)
|
|||||||
Download dl(redirect, filename);
|
Download dl(redirect, filename);
|
||||||
doDownload(dl);
|
doDownload(dl);
|
||||||
} else
|
} else
|
||||||
saveToDisk(filename, reply);
|
if (!saveToDisk(filename, reply))
|
||||||
|
_errorDownloads.insert(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
_currentDownloads.removeAll(reply);
|
_currentDownloads.removeAll(reply);
|
||||||
|
Loading…
Reference in New Issue
Block a user