forked from organicmaps/organicmaps
[new downloader] Implementation of filling nodeAttrs.m_present flag.
This commit is contained in:
parent
9561e91d78
commit
0f3d786732
2 changed files with 1 additions and 1 deletions
|
@ -1337,6 +1337,7 @@ void Storage::GetNodeAttrs(TCountryId const & countryId, NodeAttrs & nodeAttrs)
|
|||
nodeAttrs.m_localMwmCounter += 1;
|
||||
nodeAttrs.m_localMwmSize += localFile->GetSize(MapOptions::Map);
|
||||
});
|
||||
nodeAttrs.m_present = m_localFiles.find(countryId) != m_localFiles.end();
|
||||
|
||||
// Parents information.
|
||||
nodeAttrs.m_parentInfo.clear();
|
||||
|
|
|
@ -76,7 +76,6 @@ struct NodeAttrs
|
|||
|
||||
/// Indicates that the map is currently downloaded and connected to storage.
|
||||
/// Can be used to distinguish downloadable and updatable maps.
|
||||
/// @todo. Set appropriate value.
|
||||
bool m_present;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue