diff options
author | vng <viktor.govako@gmail.com> | 2015-03-12 17:37:15 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:38:56 +0300 |
commit | 04fec9baad8ac6ab36ef27d4b32d3ffa71b62603 (patch) | |
tree | 8627455855fab1cdf555acfd188073d60a60aba3 /qt/draw_widget.cpp | |
parent | a3b914af00d8de8ddd6f67eb5e068d9ae25f1df3 (diff) |
[desktop] Removed FollowRoute on desktop (crashes on location routine).
Diffstat (limited to 'qt/draw_widget.cpp')
-rw-r--r-- | qt/draw_widget.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp index ade5771a95..3518dad4bb 100644 --- a/qt/draw_widget.cpp +++ b/qt/draw_widget.cpp @@ -414,15 +414,7 @@ namespace qt else if (e->modifiers() & Qt::ShiftModifier) { if (m_framework->IsRoutingActive()) - { - static int counter = 0; - if (counter % 2 == 0) - m_framework->FollowRoute(); - else - m_framework->CloseRouting(); - - counter++; - } + m_framework->CloseRouting(); else m_framework->BuildRoute(m_framework->PtoG(pt)); } |