diff options
author | Michal Klocek <michal.klocek@digia.com> | 2015-01-07 16:55:53 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-01-13 16:06:33 +0100 |
commit | ecf7772c46db2e5b011cdbb531bc6fd69ba8c76d (patch) | |
tree | d208eaece5c7097cca6cd4a1da33d6640ae86bd5 /src/imports/location/qdeclarativegeocodemodel.cpp | |
parent | bcdc5cc06bd73b060157936f0b6fa40194cadff8 (diff) |
Adds mapping manager error handling to qml
When map is created, plugins can report errors in case of
missing required parameters. Expose error message to qml.
Change-Id: I014e55cd4aad5ba15ffd0a15bc1f414c21feacc8
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/imports/location/qdeclarativegeocodemodel.cpp')
-rw-r--r-- | src/imports/location/qdeclarativegeocodemodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/location/qdeclarativegeocodemodel.cpp b/src/imports/location/qdeclarativegeocodemodel.cpp index df3f17fb..6a6ca9f7 100644 --- a/src/imports/location/qdeclarativegeocodemodel.cpp +++ b/src/imports/location/qdeclarativegeocodemodel.cpp @@ -442,7 +442,7 @@ void QDeclarativeGeocodeModel::setError(GeocodeError error) /*! \qmlproperty string QtLocation::GeocodeModel::errorString - This read-only property holds the textual presentation of latest geocoding error. + This read-only property holds the textual presentation of the latest geocoding error. If no error has occurred or the model has been reset, an empty string is returned. An empty string may also be returned if an error occurred which has no associated |