summaryrefslogtreecommitdiff
path: root/src/imports/location/qdeclarativegeocodemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/location/qdeclarativegeocodemodel.cpp')
-rw-r--r--src/imports/location/qdeclarativegeocodemodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/location/qdeclarativegeocodemodel.cpp b/src/imports/location/qdeclarativegeocodemodel.cpp
index 1a7dfe83..5c4ba148 100644
--- a/src/imports/location/qdeclarativegeocodemodel.cpp
+++ b/src/imports/location/qdeclarativegeocodemodel.cpp
@@ -269,10 +269,10 @@ void QDeclarativeGeocodeModel::setPlugin(QDeclarativeGeoServiceProvider *plugin)
if (!plugin)
return;
- if (plugin_->ready()) {
+ if (plugin_->isAttached()) {
pluginReady();
} else {
- connect(plugin_, SIGNAL(supportedFeaturesChanged(PluginFeatures)),
+ connect(plugin_, SIGNAL(attached()),
this, SLOT(pluginReady()));
}
}