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:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2018-04-03 17:34:43 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2018-04-06 15:59:42 +0300
commitfd65179c8979a32cdcb98b2f5f9b5a95f5b01dd9 (patch)
tree01879ded42aa798ced39192da21eab6b7c823efb /qt
parent5a53eed0629cc1dd995cacfe0e04d0fb642d7afe (diff)
Bookmarks refactoring.
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 244fced1bc..fb001d23f5 100644
--- a/qt/draw_widget.cpp
+++ b/qt/draw_widget.cpp
@@ -375,7 +375,7 @@ void DrawWidget::SubmitBookmark(m2::PointD const & pt)
kml::BookmarkData data;
data.m_color.m_predefinedColor = kml::PredefinedColor::Red;
data.m_point = m_framework.P3dtoG(pt);
- m_framework.GetBookmarkManager().GetEditSession().CreateBookmark(data, m_bookmarksCategoryId);
+ m_framework.GetBookmarkManager().GetEditSession().CreateBookmark(std::move(data), m_bookmarksCategoryId);
}
void DrawWidget::FollowRoute()