diff options
Diffstat (limited to 'src/location/maps/qgeoserviceprovider.cpp')
-rw-r--r-- | src/location/maps/qgeoserviceprovider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/maps/qgeoserviceprovider.cpp b/src/location/maps/qgeoserviceprovider.cpp index d03b3510..0a2833ee 100644 --- a/src/location/maps/qgeoserviceprovider.cpp +++ b/src/location/maps/qgeoserviceprovider.cpp @@ -263,7 +263,7 @@ Manager *QGeoServiceProviderPrivate::manager(QGeoServiceProvider::Error *_error, engine->setManagerVersion( int(this->metaData.value(QStringLiteral("Version")).toDouble())); manager = new Manager(engine); - } else { + } else if (error == QGeoServiceProvider::NoError) { error = QGeoServiceProvider::NotSupportedError; errorString = QLatin1String("The service provider does not support the "); errorString.append(QLatin1String(Manager::staticMetaObject.className())); |