summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/osm/qgeotileproviderosm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/geoservices/osm/qgeotileproviderosm.cpp')
-rw-r--r--src/plugins/geoservices/osm/qgeotileproviderosm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/geoservices/osm/qgeotileproviderosm.cpp b/src/plugins/geoservices/osm/qgeotileproviderosm.cpp
index e736f6b7..95e5d44b 100644
--- a/src/plugins/geoservices/osm/qgeotileproviderosm.cpp
+++ b/src/plugins/geoservices/osm/qgeotileproviderosm.cpp
@@ -173,6 +173,8 @@ void QGeoTileProviderOsm::disableRedirection()
for (TileProvider *p: m_providerList) {
if (p->isValid() && !found) {
m_provider = p;
+ m_providerId = m_providerList.indexOf(p);
+ m_status = Resolved;
found = true;
}
p->disconnect(this);