diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2016-11-03 12:38:58 +0100 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2016-11-08 14:31:55 +0000 |
commit | c1755c75f8d54a27ff931a049d6fd9718c0be6bb (patch) | |
tree | ca8d70081e07ad1f0e12a6680d4edf6f3a2c523f | |
parent | 026d16d6eb7697966c562cc568930a2f3de315a6 (diff) | |
download | qtlocation-c1755c75f8d54a27ff931a049d6fd9718c0be6bb.tar.gz |
Remove duplicated but otherwise harmless code
Change-Id: I35f53f136ba6a4c7d62a82f41ee193963159a392
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
-rw-r--r-- | src/plugins/geoservices/osm/qgeoroutereplyosm.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/geoservices/osm/qgeoroutereplyosm.cpp b/src/plugins/geoservices/osm/qgeoroutereplyosm.cpp index 701d1224..a020ce6e 100644 --- a/src/plugins/geoservices/osm/qgeoroutereplyosm.cpp +++ b/src/plugins/geoservices/osm/qgeoroutereplyosm.cpp @@ -74,13 +74,6 @@ void QGeoRouteReplyOsm::networkReplyFinished() return; } - if (m_reply->error() != QNetworkReply::NoError) { - setError(QGeoRouteReply::CommunicationError, m_reply->errorString()); - m_reply->deleteLater(); - m_reply = 0; - return; - } - QGeoRoutingManagerEngineOsm *engine = qobject_cast<QGeoRoutingManagerEngineOsm *>(parent()); const QGeoRouteParser *parser = engine->routeParser(); |