Review, updating functional tests
[situare] / src / map / mapview.cpp
index a211e10..30ff47f 100644 (file)
@@ -81,7 +81,7 @@ MapView::~MapView()
     delete m_scrollAndZoomAnimation;
 }
 
-QPointF MapView::center()
+QPointF MapView::center() const
 {
     return mapToScene(m_viewCenterPoint) - m_centerHorizontalShiftPoint;
 }