1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-25 16:04:23 +02:00

Improved error handling

Refactoring
This commit is contained in:
2015-12-04 22:56:34 +01:00
parent 4550e473de
commit f3eb136187
2 changed files with 14 additions and 7 deletions

View File

@ -6,6 +6,7 @@
#include <QNetworkReply>
#include <QUrl>
#include <QList>
#include <QSet>
class Download
@ -45,8 +46,9 @@ private:
void doDownload(const Download &dl);
bool saveToDisk(const QString &filename, QIODevice *data);
QNetworkAccessManager manager;
QList<QNetworkReply *> currentDownloads;
QNetworkAccessManager _manager;
QList<QNetworkReply *> _currentDownloads;
QSet<QUrl> _errorDownloads;
};
#endif // DOWNLOADER_H