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-05-20 18:08:43 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2016-05-23 10:28:49 +0300
commit35a30d39b7285413dffb8627afa3142aadcd1825 (patch)
tree4fb7c0e4ae7559fc5fed120a29a3003d14bf7a8b /qt
parenteb6d91d8d0e8db9da8ecbdae03e1766f257e5cd0 (diff)
Refactored callbacks from Drape to Framework
Diffstat (limited to 'qt')
-rw-r--r--qt/draw_widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp
index 87edba43e7..ba54ad127b 100644
--- a/qt/draw_widget.cpp
+++ b/qt/draw_widget.cpp
@@ -257,7 +257,7 @@ void DrawWidget::CreateEngine()
p.m_widgetsInitInfo[gui::WIDGET_SCALE_LABEL] = gui::Position(dp::LeftBottom);
m_framework->CreateDrapeEngine(make_ref(m_contextFactory), std::move(p));
- m_framework->AddViewportListener(bind(&DrawWidget::OnViewportChanged, this, _1));
+ m_framework->SetViewportListener(bind(&DrawWidget::OnViewportChanged, this, _1));
}
void DrawWidget::initializeGL()