Skip to content

Commit

Permalink
Fix old Qt version support for usage in linux distributions (maplibre…
Browse files Browse the repository at this point in the history
  • Loading branch information
ntadej committed Oct 31, 2023
1 parent 2046d1d commit b39064a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/qt/src/mbgl/http_file_source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void HTTPFileSource::Impl::request(HTTPRequest* req) {
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
connect(data.first, &QNetworkReply::errorOccurred, this, &HTTPFileSource::Impl::onReplyFinished);
#else
connect(data.first, &QNetworkReply::error, this, &HTTPFileSource::Impl::onReplyFinished);
connect(data.first, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(onReplyFinished()));
#endif
}

Expand Down

0 comments on commit b39064a

Please sign in to comment.