Skip to content

Commit

Permalink
Fix old Qt version support for usage in linux distributions (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntadej authored Oct 30, 2023
1 parent 3b0bfc9 commit bb998a4
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 bb998a4

Please sign in to comment.