mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Code cleanup
This commit is contained in:
parent
bcfd51276f
commit
c6a37594ae
@ -1,5 +1,4 @@
|
|||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QFileInfo>
|
|
||||||
#include <QNetworkRequest>
|
#include <QNetworkRequest>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QTimerEvent>
|
#include <QTimerEvent>
|
||||||
|
@ -3,7 +3,9 @@
|
|||||||
|
|
||||||
#include <QNetworkAccessManager>
|
#include <QNetworkAccessManager>
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||||
#include <QBasicTimer>
|
#include <QBasicTimer>
|
||||||
|
#endif // QT 5.15
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
@ -81,8 +83,6 @@ private slots:
|
|||||||
void emitReadReady();
|
void emitReadReady();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
class ReplyTimeout;
|
|
||||||
|
|
||||||
void insertError(const QUrl &url, QNetworkReply::NetworkError error);
|
void insertError(const QUrl &url, QNetworkReply::NetworkError error);
|
||||||
bool doDownload(const Download &dl, const QList<HTTPHeader> &headers);
|
bool doDownload(const Download &dl, const QList<HTTPHeader> &headers);
|
||||||
void downloadFinished(QNetworkReply *reply);
|
void downloadFinished(QNetworkReply *reply);
|
||||||
|
Loading…
Reference in New Issue
Block a user