summaryrefslogtreecommitdiff
path: root/tests/applications/positioning_backend/widget.h
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2019-01-03 13:43:43 +0100
committerOliver Wolff <oliver.wolff@qt.io>2019-01-24 06:08:02 +0000
commitc4aaa11d86d419d1aa216beaaf7424c713b78c8e (patch)
treeb805109e552115401ebaa950b1006ff267b0ffa9 /tests/applications/positioning_backend/widget.h
parentb17c07dc0b947c979372fbaf558ce9acc07d1837 (diff)
downloadqtlocation-c4aaa11d86d419d1aa216beaaf7424c713b78c8e.tar.gz
test app: Improve status and error handling a bit
- Reset "running" check box if an error occurs - Add check box to manually reset position source's error code, as error is not emitted with NoError - There is no need to handle the "OK" case in errorChanged, as the corresponding signal will not be emitted for NoError Change-Id: I53d637c8efd807d6c3e8abff98963585fe74f220 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests/applications/positioning_backend/widget.h')
-rw-r--r--tests/applications/positioning_backend/widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/applications/positioning_backend/widget.h b/tests/applications/positioning_backend/widget.h
index b67e53b8..e0dc68fc 100644
--- a/tests/applications/positioning_backend/widget.h
+++ b/tests/applications/positioning_backend/widget.h
@@ -59,6 +59,7 @@ private slots:
void on_radioButton_4_clicked();
void on_buttonUpdateSupported_clicked();
+ void on_buttonResetError_clicked();
private:
LogWidget *log = nullptr;