diff options
author | abcd <amos.choy@nokia.com> | 2012-06-22 15:39:31 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-22 08:43:20 +0200 |
commit | ef79324ffad79f51c7442bae6958bb2b6880b711 (patch) | |
tree | 633b3fced3dfe2713e18569ab43a7beca6d0b2b9 /src/location/places | |
parent | b9dbf6b5237769637abef5aab9ab9d8bffb5db41 (diff) |
Remove osbsoleted code.
dymNumber is no longer relevant since did you mean corrections are not
supported by the API.
Change-Id: I35fc5bebfa80ef9deb831cbd6824e2e01f6f1f33
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/location/places')
-rw-r--r-- | src/location/places/qplacesearchrequest.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/location/places/qplacesearchrequest.cpp b/src/location/places/qplacesearchrequest.cpp index 8b14ad53..2db0c0b1 100644 --- a/src/location/places/qplacesearchrequest.cpp +++ b/src/location/places/qplacesearchrequest.cpp @@ -64,7 +64,6 @@ public: QList<QPlaceCategory> categories; QGeoShape searchArea; QString recommendationId; - int dymNumber; QtLocation::VisibilityScope visibilityScope; QPlaceSearchRequest::RelevanceHint relevanceHint; int limit; @@ -72,8 +71,9 @@ public: }; QPlaceSearchRequestPrivate::QPlaceSearchRequestPrivate() -: QSharedData(), dymNumber(0), - visibilityScope(QtLocation::UnspecifiedVisibility), relevanceHint(QPlaceSearchRequest::UnspecifiedHint), +: QSharedData(), + visibilityScope(QtLocation::UnspecifiedVisibility), + relevanceHint(QPlaceSearchRequest::UnspecifiedHint), limit(-1), offset(0) { } @@ -84,7 +84,6 @@ QPlaceSearchRequestPrivate::QPlaceSearchRequestPrivate(const QPlaceSearchRequest categories(other.categories), searchArea(other.searchArea), recommendationId(other.recommendationId), - dymNumber(other.dymNumber), visibilityScope(other.visibilityScope), relevanceHint(other.relevanceHint), limit(other.limit), @@ -103,7 +102,6 @@ QPlaceSearchRequestPrivate &QPlaceSearchRequestPrivate::operator=(const QPlaceSe categories = other.categories; searchArea = other.searchArea; recommendationId = other.recommendationId; - dymNumber = other.dymNumber; visibilityScope = other.visibilityScope; relevanceHint = other.relevanceHint; limit = other.limit; @@ -119,7 +117,6 @@ bool QPlaceSearchRequestPrivate::operator==(const QPlaceSearchRequestPrivate &ot categories == other.categories && searchArea == other.searchArea && recommendationId == other.recommendationId && - dymNumber == other.dymNumber && visibilityScope == other.visibilityScope && relevanceHint == other.relevanceHint && limit == other.limit && @@ -134,7 +131,6 @@ void QPlaceSearchRequestPrivate::clear() categories.clear(); searchArea = QGeoShape(); recommendationId.clear(); - dymNumber = 0; visibilityScope = QtLocation::UnspecifiedVisibility; relevanceHint = QPlaceSearchRequest::UnspecifiedHint; } |