diff options
author | vng <viktor.govako@gmail.com> | 2015-02-27 18:37:41 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:37:54 +0300 |
commit | 9908d8001333865ba95e0305621ab75ab1a57a11 (patch) | |
tree | f02cd86cb5d48be4d5fa06f4ca0fecfceac4abc0 | |
parent | 120b7c60bf6a2627d485790479415eec8dfecf5b (diff) |
[desktop] Compilation fix.
-rw-r--r-- | qt/draw_widget.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp index e1e9b6e344..249ca8c2b6 100644 --- a/qt/draw_widget.cpp +++ b/qt/draw_widget.cpp @@ -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; |