summaryrefslogtreecommitdiffstats
path: root/profile-widget/divetextitem.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-05 17:05:30 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-05 17:05:30 -0800
commit3ef9e07380dc18eefd294a6978d93e9d381f9d5d (patch)
treef34a4457c0a48daa008d0adfe167b20999929bd9 /profile-widget/divetextitem.cpp
parentf3232b1a6f7ae6ade64071f2166597cb7f04951a (diff)
downloadsubsurface-3ef9e07380dc18eefd294a6978d93e9d381f9d5d.tar.gz
Profile: include Qt headers directly
No reason to include mainwindow.h Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/divetextitem.cpp')
-rw-r--r--profile-widget/divetextitem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/profile-widget/divetextitem.cpp b/profile-widget/divetextitem.cpp
index 3bf00d68f..ab816b32a 100644
--- a/profile-widget/divetextitem.cpp
+++ b/profile-widget/divetextitem.cpp
@@ -1,9 +1,10 @@
#include "divetextitem.h"
-#include "mainwindow.h"
#include "profilewidget2.h"
#include "subsurface-core/color.h"
#include <QBrush>
+#include <QDebug>
+#include <QApplication>
DiveTextItem::DiveTextItem(QGraphicsItem *parent) : QGraphicsItemGroup(parent),
internalAlignFlags(Qt::AlignHCenter | Qt::AlignVCenter),