mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-27 21:24: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);
|
||||
doDownload(dl);
|
||||
} else
|
||||
saveToDisk(filename, reply);
|
||||
if (!saveToDisk(filename, reply))
|
||||
_errorDownloads.insert(url);
|
||||
}
|
||||
|
||||
_currentDownloads.removeAll(reply);
|
||||
|
Loading…
Reference in New Issue
Block a user