diff options
author | vng <viktor.govako@gmail.com> | 2012-04-06 16:33:41 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:37:16 +0300 |
commit | ddcc64d65f8beb8f273d710881328156c20168c2 (patch) | |
tree | 47bb139fc0936ccaa0e41998a0bc667232987cc7 /qt | |
parent | 0120c134a6458de07665a56bec3752b09741eab1 (diff) |
[desktop] Show types and address for Right Button Click.
Diffstat (limited to 'qt')
-rw-r--r-- | qt/draw_widget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp index db32f6dbb1..fc8665d400 100644 --- a/qt/draw_widget.cpp +++ b/qt/draw_widget.cpp @@ -299,7 +299,7 @@ namespace qt void add_string(QMenu & menu, string const & s) { - menu.addAction(QString::fromUtf8(s.c_str())); + (void)menu.addAction(QString::fromUtf8(s.c_str())); } } @@ -332,13 +332,13 @@ namespace qt QPoint const & pt = e->pos(); QMenu menu; - /* vector<string> types; m_framework->GetFeatureTypes(m2::PointD(pt.x(), pt.y()), types); for (size_t i = 0; i < types.size(); ++i) add_string(menu, types[i]); - */ + + (void)menu.addSeparator(); Framework::AddressInfo info; m_framework->GetAddressInfo(m2::PointD(pt.x(), pt.y()), info); |