diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2021-01-21 16:02:20 +0100 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2021-01-25 16:03:18 +0100 |
commit | ced5568172ba145cd3e74f77978ab71108347360 (patch) | |
tree | 93949e5d702c1d74ddbf76e9ba9ff20d90986bdd /src/plugins/position/serialnmea/qnmeasatelliteinfosource.cpp | |
parent | 8f25a043dae764bb7def1f67ea49595d74eeb1d0 (diff) | |
download | qtlocation-ced5568172ba145cd3e74f77978ab71108347360.tar.gz |
QtPositioning: rename signal error() to errorOccurred()
Signal name was previouly clashing with the error() method.
The new signal name is aligned with QtNetwork and QProcess
[ChangeLog][QtPositioning][Important Behavior Changes] Rename signal
error() to errorOccurred() in QGeoAreaMonitorSource, QGeoPositionInfoSource
and QGeoSatelliteInfoSource
Task-number: QTBUG-90491
Change-Id: I241322c6654e1c92e1a3c63a8958bcf96bf5f4f7
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins/position/serialnmea/qnmeasatelliteinfosource.cpp')
-rw-r--r-- | src/plugins/position/serialnmea/qnmeasatelliteinfosource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/position/serialnmea/qnmeasatelliteinfosource.cpp b/src/plugins/position/serialnmea/qnmeasatelliteinfosource.cpp index 9804c406..d0a4d3b5 100644 --- a/src/plugins/position/serialnmea/qnmeasatelliteinfosource.cpp +++ b/src/plugins/position/serialnmea/qnmeasatelliteinfosource.cpp @@ -549,7 +549,7 @@ void QNmeaSatelliteInfoSource::requestUpdate(int msec) void QNmeaSatelliteInfoSource::setError(QGeoSatelliteInfoSource::Error satelliteError) { d->m_satelliteError = satelliteError; - emit QGeoSatelliteInfoSource::error(satelliteError); + emit QGeoSatelliteInfoSource::errorOccurred(satelliteError); } |