summaryrefslogtreecommitdiff
path: root/src/imports/positioning/qdeclarativepositionsource_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2013-10-28 15:51:42 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-30 13:50:21 +0100
commit9f58f8cbf859b2bc7225ee8e0c841200c72e47b4 (patch)
treec2881869d01282b3dcf23e815dec80dcfe9336d2 /src/imports/positioning/qdeclarativepositionsource_p.h
parentd0f187fb0cc92e230bc50a8c3fc4f627a8863fa0 (diff)
downloadqtlocation-9f58f8cbf859b2bc7225ee8e0c841200c72e47b4.tar.gz
Add NoError to the various Positioning Source classes.
This became apparent while implementing the BB10 and Android backends. Change-Id: I54e2c0fce63021b9fad0c544777792aed726608b Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Diffstat (limited to 'src/imports/positioning/qdeclarativepositionsource_p.h')
-rw-r--r--src/imports/positioning/qdeclarativepositionsource_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/positioning/qdeclarativepositionsource_p.h b/src/imports/positioning/qdeclarativepositionsource_p.h
index bb229d5e..63e54587 100644
--- a/src/imports/positioning/qdeclarativepositionsource_p.h
+++ b/src/imports/positioning/qdeclarativepositionsource_p.h
@@ -86,6 +86,8 @@ public:
AccessError = QGeoPositionInfoSource::AccessError,
ClosedError = QGeoPositionInfoSource::ClosedError,
UnknownSourceError = QGeoPositionInfoSource::UnknownSourceError,
+ NoError = QGeoPositionInfoSource::NoError,
+
//Leave a gap for future error enum values in QGeoPositionInfoSource::Error
SocketError = 100
};