diff options
author | abcd <amos.choy@nokia.com> | 2012-01-30 11:35:06 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-30 05:39:18 +0100 |
commit | 8ba3a6ffd2a974c9ea91035ac6c4ccf30a6c74af (patch) | |
tree | 44043ae3b0ba63177ad19466320d4c28ece99d57 /src/plugins/geoservices/nokia | |
parent | 074260af5a59c2a6a9d49cf0b4b9e8a5db5b11f8 (diff) | |
download | qtlocation-8ba3a6ffd2a974c9ea91035ac6c4ccf30a6c74af.tar.gz |
Fix inconsistency, use childCategoryIds over childrenCategoryIds
Change-Id: I37dfa12027bcc5424e65aa515f512b18a94692c4
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/plugins/geoservices/nokia')
-rw-r--r-- | src/plugins/geoservices/nokia/qplacemanagerengine_nokia.cpp | 2 | ||||
-rw-r--r-- | src/plugins/geoservices/nokia/qplacemanagerengine_nokia.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/geoservices/nokia/qplacemanagerengine_nokia.cpp b/src/plugins/geoservices/nokia/qplacemanagerengine_nokia.cpp index 8c8831ad..aaf57c1f 100644 --- a/src/plugins/geoservices/nokia/qplacemanagerengine_nokia.cpp +++ b/src/plugins/geoservices/nokia/qplacemanagerengine_nokia.cpp @@ -283,7 +283,7 @@ QString QPlaceManagerEngineNokia::parentCategoryId(const QString &categoryId) co return tree.value(categoryId).parentId; } -QStringList QPlaceManagerEngineNokia::childrenCategoryIds(const QString &categoryId) const +QStringList QPlaceManagerEngineNokia::childCategoryIds(const QString &categoryId) const { QPlaceCategoryTree tree = QPlaceCategoriesRepository::instance()->categories(); return tree.value(categoryId).childIds; diff --git a/src/plugins/geoservices/nokia/qplacemanagerengine_nokia.h b/src/plugins/geoservices/nokia/qplacemanagerengine_nokia.h index 8df05753..fc6e41e0 100644 --- a/src/plugins/geoservices/nokia/qplacemanagerengine_nokia.h +++ b/src/plugins/geoservices/nokia/qplacemanagerengine_nokia.h @@ -83,7 +83,7 @@ public: QPlaceReply *initializeCategories(); QString parentCategoryId(const QString &categoryId) const; - QStringList childrenCategoryIds(const QString &categoryId) const; + QStringList childCategoryIds(const QString &categoryId) const; QPlaceCategory category(const QString &categoryId) const; QList<QPlaceCategory> childCategories(const QString &parentId) const; |