From 3ef9e07380dc18eefd294a6978d93e9d381f9d5d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 5 Nov 2015 17:05:30 -0800 Subject: Profile: include Qt headers directly No reason to include mainwindow.h Signed-off-by: Dirk Hohndel --- profile-widget/divetextitem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 +#include +#include DiveTextItem::DiveTextItem(QGraphicsItem *parent) : QGraphicsItemGroup(parent), internalAlignFlags(Qt::AlignHCenter | Qt::AlignVCenter), -- cgit v1.2.3-70-g09d2