[new downloader] Moving downloading maps and maps in queue to downloading part of downloader.

This commit is contained in:
Vladimir Byko-Ianko 2016-02-29 11:08:29 +03:00 committed by Sergey Yershov
parent 098804292d
commit ae35766ad9

View file

@ -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);