diff --git a/src/common/downloader.cpp b/src/common/downloader.cpp index f52c50d1..a552b428 100644 --- a/src/common/downloader.cpp +++ b/src/common/downloader.cpp @@ -1,5 +1,4 @@ #include -#include #include #include #include diff --git a/src/common/downloader.h b/src/common/downloader.h index 1b85e9a5..dd8a49d0 100644 --- a/src/common/downloader.h +++ b/src/common/downloader.h @@ -3,7 +3,9 @@ #include #include +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) #include +#endif // QT 5.15 #include #include #include @@ -81,8 +83,6 @@ private slots: void emitReadReady(); private: - class ReplyTimeout; - void insertError(const QUrl &url, QNetworkReply::NetworkError error); bool doDownload(const Download &dl, const QList &headers); void downloadFinished(QNetworkReply *reply);