Minor cleanup

Remove obsolete header and unused variable.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-02-10 20:45:08 -08:00
parent 6ea6a4305c
commit 73d6057424

View file

@ -10,7 +10,6 @@
#include "divetextitem.h" #include "divetextitem.h"
#include "divetooltipitem.h" #include "divetooltipitem.h"
#include "animationfunctions.h" #include "animationfunctions.h"
#include <QStateMachine>
#include <QSignalTransition> #include <QSignalTransition>
#include <QPropertyAnimation> #include <QPropertyAnimation>
#include <QMenu> #include <QMenu>
@ -363,7 +362,7 @@ void ProfileWidget2::settingsChanged()
void ProfileWidget2::resizeEvent(QResizeEvent* event) void ProfileWidget2::resizeEvent(QResizeEvent* event)
{ {
QGraphicsView::resizeEvent(event); DiveRectItem *depthController; QGraphicsView::resizeEvent(event);
fitInView(sceneRect(), Qt::IgnoreAspectRatio); fitInView(sceneRect(), Qt::IgnoreAspectRatio);
fixBackgroundPos(); fixBackgroundPos();
} }