From 9f5d45c069d631cb573f9572c015217a716412e8 Mon Sep 17 00:00:00 2001 From: Julian Sherollari Date: Mon, 28 May 2018 19:33:00 +0200 Subject: Fix PlaceSearchModel::data documentation The return type should be Variant. Change-Id: I78ecf4e0048d28c92e032b65c2fa2f7c75805177 Reviewed-by: Paolo Angelelli Reviewed-by: Alex Blasche --- src/location/declarativeplaces/qdeclarativesearchresultmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- cgit v1.2.1