diff --git a/profile-widget/divetextitem.h b/profile-widget/divetextitem.h index 4e1a321df..9e65f8b54 100644 --- a/profile-widget/divetextitem.h +++ b/profile-widget/divetextitem.h @@ -2,17 +2,12 @@ #ifndef DIVETEXTITEM_H #define DIVETEXTITEM_H -#include -#include #include class QBrush; /* A Line Item that has animated-properties. */ -class DiveTextItem : public QObject, public QGraphicsPixmapItem { - Q_OBJECT - Q_PROPERTY(QPointF pos READ pos WRITE setPos) - Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity) +class DiveTextItem : public QGraphicsPixmapItem { public: // Note: vertical centring is based on the actual rendered text, not on the font metrics. // This is fine for placing text in the "tankbar", but it will look disastrous when