summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/positioning/satelliteinfo/satellitemodel.cpp2
-rw-r--r--examples/positioning/weatherinfo/appmodel.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/positioning/satelliteinfo/satellitemodel.cpp b/examples/positioning/satelliteinfo/satellitemodel.cpp
index 112fc9c8..373cd604 100644
--- a/examples/positioning/satelliteinfo/satellitemodel.cpp
+++ b/examples/positioning/satelliteinfo/satellitemodel.cpp
@@ -67,7 +67,7 @@ SatelliteModel::SatelliteModel(QObject *parent) :
this, SLOT(satellitesInViewUpdated(QList<QGeoSatelliteInfo>)));
connect(source, SIGNAL(satellitesInUseUpdated(QList<QGeoSatelliteInfo>)),
this, SLOT(satellitesInUseUpdated(QList<QGeoSatelliteInfo>)));
- connect(source, SIGNAL(error(QGeoSatelliteInfoSource::Error)),
+ connect(source, SIGNAL(errorOccurred(QGeoSatelliteInfoSource::Error)),
this, SLOT(error(QGeoSatelliteInfoSource::Error)));
}
diff --git a/examples/positioning/weatherinfo/appmodel.cpp b/examples/positioning/weatherinfo/appmodel.cpp
index 8950bea4..e498da5b 100644
--- a/examples/positioning/weatherinfo/appmodel.cpp
+++ b/examples/positioning/weatherinfo/appmodel.cpp
@@ -229,7 +229,7 @@ AppModel::AppModel(QObject *parent) :
d->useGps = true;
connect(d->src, SIGNAL(positionUpdated(QGeoPositionInfo)),
this, SLOT(positionUpdated(QGeoPositionInfo)));
- connect(d->src, SIGNAL(error(QGeoPositionInfoSource::Error)),
+ connect(d->src, SIGNAL(errorOccurred(QGeoPositionInfoSource::Error)),
this, SLOT(positionError(QGeoPositionInfoSource::Error)));
d->src->startUpdates();
} else {