diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-05 17:05:30 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-05 17:05:30 -0800 |
commit | 3ef9e07380dc18eefd294a6978d93e9d381f9d5d (patch) | |
tree | f34a4457c0a48daa008d0adfe167b20999929bd9 | |
parent | f3232b1a6f7ae6ade64071f2166597cb7f04951a (diff) | |
download | subsurface-3ef9e07380dc18eefd294a6978d93e9d381f9d5d.tar.gz |
Profile: include Qt headers directly
No reason to include mainwindow.h
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | profile-widget/divetextitem.cpp | 3 |
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), |