1
0
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:
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); 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);