summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Sherollari <jdotsh@gmail.com>2018-05-28 19:33:00 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-05-30 09:44:05 +0000
commit9f5d45c069d631cb573f9572c015217a716412e8 (patch)
tree7d55b5825c4d04b9cc063e5a8620c09fae235d85
parentb273e586b045c5114e52bc51d80dde9a7276d9ae (diff)
downloadqtlocation-9f5d45c069d631cb573f9572c015217a716412e8.tar.gz
Fix PlaceSearchModel::data documentation
The return type should be Variant. Change-Id: I78ecf4e0048d28c92e032b65c2fa2f7c75805177 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r--src/location/declarativeplaces/qdeclarativesearchresultmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativeplaces/qdeclarativesearchresultmodel.cpp b/src/location/declarativeplaces/qdeclarativesearchresultmodel.cpp
index e8476c7d..ed99da1c 100644
--- a/src/location/declarativeplaces/qdeclarativesearchresultmodel.cpp
+++ b/src/location/declarativeplaces/qdeclarativesearchresultmodel.cpp
@@ -801,7 +801,7 @@ void QDeclarativeSearchResultModel::queryFinished()
}
/*!
- \qmlmethod void PlaceSearchModel::data(int index, string role)
+ \qmlmethod Variant PlaceSearchModel::data(int index, string role)
Returns the data for a given \a role at the specified row \a index.
*/