diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 42b8a6ef1..42e95f620 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -10,7 +10,6 @@ #include "divetextitem.h" #include "divetooltipitem.h" #include "animationfunctions.h" -#include #include #include #include @@ -363,7 +362,7 @@ void ProfileWidget2::settingsChanged() void ProfileWidget2::resizeEvent(QResizeEvent* event) { - QGraphicsView::resizeEvent(event); DiveRectItem *depthController; + QGraphicsView::resizeEvent(event); fitInView(sceneRect(), Qt::IgnoreAspectRatio); fixBackgroundPos(); }