diff options
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r-- | qt-ui/profile/profilewidget2.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 <QStateMachine> #include <QSignalTransition> #include <QPropertyAnimation> #include <QMenu> @@ -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(); } |