diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2023-07-11 01:04:14 +0300 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-07-12 02:22:52 +0300 |
commit | ee66987e6db3c842847df6bc14a2859abba3cd11 (patch) | |
tree | b498a5c246a04024211bd2fa33fff61908960d41 /src/plugins/geoservices/osm | |
parent | c4a84e888293557ea8d0392595f9b3fbb73108ba (diff) |
Build with QT_NO_CONTEXTLESS_CONNECT
This disables the 3-arg QObject::connect() overload:
QObject::connect(sender, signal, functor)
For details see:
https://lists.qt-project.org/pipermail/development/2023-July/044141.html
Change-Id: I85aa2018e9c20153dc64ea0374356141219b02c8
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins/geoservices/osm')
-rw-r--r-- | src/plugins/geoservices/osm/qgeotileproviderosm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/geoservices/osm/qgeotileproviderosm.cpp b/src/plugins/geoservices/osm/qgeotileproviderosm.cpp index 88adb090..a16dbf86 100644 --- a/src/plugins/geoservices/osm/qgeotileproviderosm.cpp +++ b/src/plugins/geoservices/osm/qgeotileproviderosm.cpp @@ -353,7 +353,8 @@ void TileProvider::onNetworkReplyFinished() } QObject errorEmitter; - QMetaObject::Connection errorEmitterConnection = connect(&errorEmitter, &QObject::destroyed, [this](){ this->resolutionError(this); }); + QMetaObject::Connection errorEmitterConnection = + connect(&errorEmitter, &QObject::destroyed, this, [this](){ this->resolutionError(this); }); if (reply->error() != QNetworkReply::NoError) { handleError(reply->error()); |