summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-04-17 08:38:57 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-04-17 09:26:06 +0000
commitec4c8d4a75a811d5440a297df0d7c6ebb7d56522 (patch)
tree721a5e9be435623ed8f6c86b0c5c16b6faa3bd66 /src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp
parent2f10ddd3dd76e1bea676714bdf59d6e9884d2317 (diff)
downloadqtlocation-ec4c8d4a75a811d5440a297df0d7c6ebb7d56522.tar.gz
Fix incomplete category hierarchy in Here plugin
The recent addition of a second level of categories failed to set the parent cat id for each child. Change-Id: Ib30050463b84c2f62972082c0a883bb96bc89c52 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp')
-rw-r--r--src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp b/src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp
index c94ea390..52a3eaaf 100644
--- a/src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp
+++ b/src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp
@@ -606,6 +606,7 @@ QPlaceReply *QPlaceManagerEngineNokiaV2::initializeCategories()
if (m_tempTree.contains(parentCategoryId)) {
PlaceCategoryNode node;
node.category.setCategoryId(subCategoryId);
+ node.parentId = parentCategoryId;
// find parent
PlaceCategoryNode &parent = m_tempTree[parentCategoryId];