diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-04-17 08:38:57 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-04-17 09:26:06 +0000 |
commit | ec4c8d4a75a811d5440a297df0d7c6ebb7d56522 (patch) | |
tree | 721a5e9be435623ed8f6c86b0c5c16b6faa3bd66 /src/plugins/geoservices/nokia/qplacemanagerengine_nokiav2.cpp | |
parent | 2f10ddd3dd76e1bea676714bdf59d6e9884d2317 (diff) | |
download | qtlocation-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.cpp | 1 |
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]; |