summaryrefslogtreecommitdiff
path: root/src/location/places/qplacecontentrequest.cpp
diff options
context:
space:
mode:
authorAaron McCarthy <aaron.mccarthy@nokia.com>2011-10-07 10:06:03 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-10 05:25:50 +0200
commit9639f9485164ffb2a03d5edf6d5972d4048ea00c (patch)
treefed05f74a2a73583eaeb68d844200b3c92c17e54 /src/location/places/qplacecontentrequest.cpp
parent6f7d4efc56e33f49ae4289e93e26c38eb632fe5f (diff)
downloadqtlocation-9639f9485164ffb2a03d5edf6d5972d4048ea00c.tar.gz
Improve naming consistency in Places API.
Change-Id: Ic902592c3367a76fc0e23c237712224abbf31703 Reviewed-on: http://codereview.qt-project.org/6206 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/location/places/qplacecontentrequest.cpp')
-rw-r--r--src/location/places/qplacecontentrequest.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/location/places/qplacecontentrequest.cpp b/src/location/places/qplacecontentrequest.cpp
index f51287dd..e439ecd7 100644
--- a/src/location/places/qplacecontentrequest.cpp
+++ b/src/location/places/qplacecontentrequest.cpp
@@ -46,7 +46,7 @@
QT_BEGIN_NAMESPACE
QPlaceContentRequestPrivate::QPlaceContentRequestPrivate()
- : QPlaceRequestPrivate(), contentType(QPlaceContent::InvalidType)
+: QPlaceRequestPrivate(QPlaceRequest::ContentRequest), contentType(QPlaceContent::InvalidType)
{
}
@@ -63,8 +63,7 @@ QPlaceContentRequestPrivate::QPlaceContentRequestPrivate(const QPlaceContentRequ
bool QPlaceContentRequestPrivate::compare(const QPlaceRequestPrivate *other) const
{
const QPlaceContentRequestPrivate *od = static_cast<const QPlaceContentRequestPrivate *>(other);
- return (QPlaceRequestPrivate::compare(other)
- && this->contentType ==od->contentType);
+ return contentType == od->contentType && QPlaceRequestPrivate::compare(other);
}
void QPlaceContentRequestPrivate::clear()