diff options
Diffstat (limited to 'src/plugins/geoservices/esri/georoutereply_esri.cpp')
-rw-r--r-- | src/plugins/geoservices/esri/georoutereply_esri.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/geoservices/esri/georoutereply_esri.cpp b/src/plugins/geoservices/esri/georoutereply_esri.cpp index 92b6bb13..59537fb5 100644 --- a/src/plugins/geoservices/esri/georoutereply_esri.cpp +++ b/src/plugins/geoservices/esri/georoutereply_esri.cpp @@ -55,9 +55,10 @@ GeoRouteReplyEsri::GeoRouteReplyEsri(QNetworkReply *reply, const QGeoRouteReques setError(UnknownError, QStringLiteral("Null reply")); return; } - connect(reply, SIGNAL(finished()), this, SLOT(networkReplyFinished())); - connect(reply, SIGNAL(errorOccurred(QNetworkReply::NetworkError)), - this, SLOT(networkReplyError(QNetworkReply::NetworkError))); + connect(reply, &QNetworkReply::finished, + this, &GeoRouteReplyEsri::networkReplyFinished); + connect(reply, &QNetworkReply::errorOccurred, + this, &GeoRouteReplyEsri::networkReplyError); connect(this, &QGeoRouteReply::aborted, reply, &QNetworkReply::abort); connect(this, &QObject::destroyed, reply, &QObject::deleteLater); } |