forked from organicmaps/organicmaps
[desktop] Compilation fix.
This commit is contained in:
parent
120b7c60bf
commit
9908d80013
1 changed files with 2 additions and 5 deletions
|
@ -468,14 +468,11 @@ namespace qt
|
|||
// Get POI under cursor or nearest address by point.
|
||||
m2::PointD dummy;
|
||||
search::AddressInfo info;
|
||||
if (m_framework->GetVisiblePOI(pt, dummy, info))
|
||||
{
|
||||
feature::FeatureMetadata metadata;
|
||||
if (m_framework->GetVisiblePOI(pt, dummy, info, metadata))
|
||||
add_string(menu, "POI");
|
||||
}
|
||||
else
|
||||
{
|
||||
m_framework->GetAddressInfoForPixelPoint(pt, info);
|
||||
}
|
||||
|
||||
// Get feature types under cursor.
|
||||
vector<string> types;
|
||||
|
|
Loading…
Add table
Reference in a new issue