Disable line 184 as it doesn't compile with Qt 5.12.12 (and some minor cosmetic changes).

This commit is contained in:
Uwe Risse 2023-03-17 12:00:05 +01:00
parent a7413ae627
commit 491f783224

View File

@ -181,7 +181,7 @@ void FileDownload::download(QUrl qurl)
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
QObject::connect(reply_, &QNetworkReply::errorOccurred,this, &FileDownload::errorOccurred, Qt::UniqueConnection);
#else
QObject::connect(reply_, &QNetworkReply::error, this, &FileDownload::errorOccurred, Qt::UniqueConnection);
// QObject::connect(reply_, &QNetworkReply::error, this, &FileDownload::errorOccurred, Qt::UniqueConnection);
#endif
QObject::connect(reply_, &QNetworkReply::readyRead, this, &FileDownload::store, Qt::UniqueConnection);