summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/geoservices/nokia/placesv2/qplacedetailsreplyimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/nokia/placesv2/qplacedetailsreplyimpl.cpp b/src/plugins/geoservices/nokia/placesv2/qplacedetailsreplyimpl.cpp
index efa3ec50..5bfbe6cf 100644
--- a/src/plugins/geoservices/nokia/placesv2/qplacedetailsreplyimpl.cpp
+++ b/src/plugins/geoservices/nokia/placesv2/qplacedetailsreplyimpl.cpp
@@ -267,7 +267,7 @@ void QPlaceDetailsReplyImpl::replyFinished()
QPlaceRatings ratings;
ratings.setAverage(ratingsObject.value(QLatin1String("average")).toDouble());
- ratings.setCount(ratingsObject.value(QLatin1String("count")).toString().toInt());
+ ratings.setCount(ratingsObject.value(QLatin1String("count")).toDouble());
ratings.setMaximum(5.0);
place.setRatings(ratings);