From 73d60574243d7ea8a41726a3cd21d412697813e3 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 10 Feb 2014 20:45:08 -0800 Subject: Minor cleanup Remove obsolete header and unused variable. Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qt-ui/profile') 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(); } -- cgit v1.2.3-70-g09d2