summaryrefslogtreecommitdiffstats
path: root/src/location/places
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-07-18 10:21:04 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-18 14:41:32 +0200
commit098b4bc12fb6571fedcb8690164f8ae61135665b (patch)
tree9df4e8e1e87e657b4365504785dcb6fa55230f0a /src/location/places
parentf48c08eff10ba7a6663b01774bde95e8ced05e0f (diff)
QPlaceResultPrivate::compare(): Call the right compare function.
Fix infinite recursion. Change-Id: Ideeea55ab586806b29bfa388d1335db9759d7ddd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/location/places')
-rw-r--r--src/location/places/qplaceresult.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/places/qplaceresult.cpp b/src/location/places/qplaceresult.cpp
index f1c3c482..4afac20d 100644
--- a/src/location/places/qplaceresult.cpp
+++ b/src/location/places/qplaceresult.cpp
@@ -63,7 +63,7 @@ QPlaceResultPrivate::~QPlaceResultPrivate()
bool QPlaceResultPrivate::compare(const QPlaceSearchResultPrivate *other) const
{
const QPlaceResultPrivate *od = static_cast<const QPlaceResultPrivate *>(other);
- return QPlaceResultPrivate::compare(other)
+ return QPlaceSearchResultPrivate::compare(other)
&& distance == od->distance
&& place == od->place
&& sponsored == od->sponsored;