diff --git a/profile-widget/profilewidget2.cpp b/profile-widget/profilewidget2.cpp index c480f3ed7..3f2cbdeee 100644 --- a/profile-widget/profilewidget2.cpp +++ b/profile-widget/profilewidget2.cpp @@ -48,6 +48,7 @@ ProfileWidget2::ProfileWidget2(DivePlannerPointsModel *plannerModelIn, double dp currentState(INIT), plannerModel(plannerModelIn), zoomLevel(0), + zoomedPosition(0.0), #ifndef SUBSURFACE_MOBILE toolTipItem(new ToolTipItem()), #endif