From ae35766ad998e2211716ec5ab207a435829cce3e Mon Sep 17 00:00:00 2001 From: Vladimir Byko-Ianko Date: Mon, 29 Feb 2016 11:08:29 +0300 Subject: [PATCH] [new downloader] Moving downloading maps and maps in queue to downloading part of downloader. --- storage/storage.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/storage/storage.cpp b/storage/storage.cpp index fbd326a30a..66027cafd0 100644 --- a/storage/storage.cpp +++ b/storage/storage.cpp @@ -1147,6 +1147,9 @@ void Storage::GetChildrenInGroups(TCountryId const & parent, availChildren.clear(); TCountriesVec localMaps; GetLocalRealMaps(localMaps); + for (auto const downloadingMap : m_queue) + localMaps.push_back(downloadingMap.GetCountryId()); + if (localMaps.empty()) { GetChildren(parent, availChildren);