aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-10 20:45:08 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-11 12:35:47 -0800
commit73d60574243d7ea8a41726a3cd21d412697813e3 (patch)
tree6a7747540fbcf1fe53bbb25f280211bbcb04b847 /qt-ui/profile/profilewidget2.cpp
parent6ea6a4305c35f812985cb55dd32a1577d824fcfb (diff)
downloadsubsurface-73d60574243d7ea8a41726a3cd21d412697813e3.tar.gz
Minor cleanup
Remove obsolete header and unused variable. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
-rw-r--r--qt-ui/profile/profilewidget2.cpp3
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();
}