diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2011-07-18 20:12:28 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-19 07:49:23 +0200 |
commit | 2ff17951aefc972057560edc94cc68f6f14e11bf (patch) | |
tree | d17b12125f68bc383a6a93edb3f1c01816e743f8 | |
parent | 64a8ee1effcf8383afb8926ca7ee61a2f29d9ec3 (diff) | |
download | qtlocation-2ff17951aefc972057560edc94cc68f6f14e11bf.tar.gz |
Add unused enumerations to switch statement.
Change-Id: I9f5a4fee72ce74415a6ad1d2ae00d1396e91f8b6
Reviewed-on: http://codereview.qt.nokia.com/1803
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: David Laing <david.laing@nokia.com>
-rw-r--r-- | src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp b/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp index f92e20ac..10559a66 100644 --- a/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp +++ b/src/plugins/geoservices/nokia/qgeoroutingmanagerengine_nokia.cpp @@ -336,6 +336,9 @@ QString QGeoRoutingManagerEngineNokia::modesRequestString(const QGeoRouteRequest case QGeoRouteRequest::DisallowFeatureWeight: weightString = "-3"; break; + case QGeoRouteRequest::NeutralFeatureWeight: + case QGeoRouteRequest::RequireFeatureWeight: + break; } if (weightString.isEmpty()) @@ -358,6 +361,11 @@ QString QGeoRoutingManagerEngineNokia::modesRequestString(const QGeoRouteRequest case QGeoRouteRequest::DirtRoadFeature: featureStrings.append("dirtRoad:" + weightString); break; + case QGeoRouteRequest::PublicTransitFeature: + case QGeoRouteRequest::ParksFeature: + case QGeoRouteRequest::MotorPoolLaneFeature: + case QGeoRouteRequest::NoFeature: + break; } } |