1
0
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:
Martin Tůma 2016-08-02 23:05:52 +02:00
parent efdb31ddc5
commit e3c23d0ffc

View File

@ -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);