diff options
author | Alex Zolotarev <alex@maps.me> | 2016-01-13 10:50:50 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:04:39 +0300 |
commit | 12fd84193fdf385829ed13881bb8870b71e76c7a (patch) | |
tree | d187ec38cd1e46b9ae1fbf1740c082251991a8d6 /qt/draw_widget.cpp | |
parent | efb3d4d821b0f0b68f4ca5935be5af9dbf5759d5 (diff) |
Renamed Framework::GetAddressInfoForGlobalPoint to GetMercatorAddressInfo.
Diffstat (limited to 'qt/draw_widget.cpp')
-rw-r--r-- | qt/draw_widget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp index 8f2d1710d8..c75f112699 100644 --- a/qt/draw_widget.cpp +++ b/qt/draw_widget.cpp @@ -495,8 +495,7 @@ void DrawWidget::ShowInfoPopup(QMouseEvent * e, m2::PointD const & pt) menu.addAction(QString::fromUtf8(s.c_str())); }; - search::AddressInfo info; - m_framework->GetAddressInfoForPixelPoint(pt, info); + search::AddressInfo const info = m_framework->GetMercatorAddressInfo(m_framework->PtoG(pt)); // Get feature types under cursor. vector<string> types; |