summaryrefslogtreecommitdiffstats
path: root/tests/applications
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2021-01-21 16:02:20 +0100
committerIvan Solovev <ivan.solovev@qt.io>2021-01-25 16:03:18 +0100
commitced5568172ba145cd3e74f77978ab71108347360 (patch)
tree93949e5d702c1d74ddbf76e9ba9ff20d90986bdd /tests/applications
parent8f25a043dae764bb7def1f67ea49595d74eeb1d0 (diff)
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 'tests/applications')
-rw-r--r--tests/applications/positioning_backend/widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/applications/positioning_backend/widget.cpp b/tests/applications/positioning_backend/widget.cpp
index 3244c478..627ae2d6 100644
--- a/tests/applications/positioning_backend/widget.cpp
+++ b/tests/applications/positioning_backend/widget.cpp
@@ -52,7 +52,7 @@ Widget::Widget(LogWidget *logWidget, QWidget *parent) :
ui->horizontalSlider->setMinimum(m_posSource->minimumUpdateInterval());
ui->labelTimeOut->setVisible(false);
- connect(m_posSource, SIGNAL(error(QGeoPositionInfoSource::Error)),
+ connect(m_posSource, SIGNAL(errorOccurred(QGeoPositionInfoSource::Error)),
this, SLOT(errorChanged(QGeoPositionInfoSource::Error)));
connect(m_posSource, &QGeoPositionInfoSource::supportedPositioningMethodsChanged,
this, [this]() {