diff options
author | abcd <amos.choy@nokia.com> | 2011-10-18 18:22:54 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-25 11:21:11 +0200 |
commit | 8ad0b02db24bc5539ebc3e25e641af5c8eadc0e4 (patch) | |
tree | fbc563f358b78a649837eedc9f477281ad45386a /src/location/places/qplacemanager.h | |
parent | 88104292901712ad14eeaa1a2e0e4755953fec96 (diff) | |
download | qtlocation-8ad0b02db24bc5539ebc3e25e641af5c8eadc0e4.tar.gz |
Fix inconsistency between removing places and categories
removing places used to take a place object while removing categories
used a category id. Change removing places to use a place id.
Change-Id: I2d603564df362b327fb2fdd27e1f2f00bf2ae833
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/location/places/qplacemanager.h')
-rw-r--r-- | src/location/places/qplacemanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/places/qplacemanager.h b/src/location/places/qplacemanager.h index c02efb5d..5da69cc3 100644 --- a/src/location/places/qplacemanager.h +++ b/src/location/places/qplacemanager.h @@ -102,7 +102,7 @@ public: QPlaceTextPredictionReply *textPredictions(const QPlaceSearchRequest &request) const; QPlaceIdReply *savePlace(const QPlace &place); - QPlaceIdReply *removePlace(const QPlace &place); + QPlaceIdReply *removePlace(const QString &placeId); QPlaceIdReply *saveCategory(const QPlaceCategory &category, const QString &parentId = QString()); QPlaceIdReply *removeCategory(const QString &categoryId); |