Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qt
diff options
context:
space:
mode:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2016-04-21 13:31:59 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2016-04-22 14:52:13 +0300
commit538b5715063b68e21b182ba6e4732b9acf9e4c37 (patch)
treee8099e60043de55c85e5c1b84ebfb9e987bbccc7 /qt
parent7ab4c38cedbf521e9c37da993c4038eef1cea192 (diff)
Supporting adding new place via long tap
Diffstat (limited to 'qt')
-rw-r--r--qt/draw_widget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp
index 5424a39368..916abe3185 100644
--- a/qt/draw_widget.cpp
+++ b/qt/draw_widget.cpp
@@ -231,12 +231,12 @@ void DrawWidget::SliderReleased()
void DrawWidget::ChoosePositionModeEnable()
{
m_framework->BlockTapEvents(true);
- m_framework->EnableChoosePositionMode(true, false);
+ m_framework->EnableChoosePositionMode(true, false, false, m2::PointD());
}
void DrawWidget::ChoosePositionModeDisable()
{
- m_framework->EnableChoosePositionMode(false, false);
+ m_framework->EnableChoosePositionMode(false, false, false, m2::PointD());
m_framework->BlockTapEvents(false);
}