diff options
Diffstat (limited to 'qt-ui/profile')
-rw-r--r-- | qt-ui/profile/divetextitem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/profile/divetextitem.cpp b/qt-ui/profile/divetextitem.cpp index b939c54fc..bc19d070a 100644 --- a/qt-ui/profile/divetextitem.cpp +++ b/qt-ui/profile/divetextitem.cpp @@ -10,9 +10,10 @@ #include <QDebug> DiveTextItem::DiveTextItem(QGraphicsItem* parent): QGraphicsItemGroup(parent), + internalAlignFlags(Qt::AlignHCenter | Qt::AlignVCenter), textBackgroundItem(NULL), textItem(NULL), - internalAlignFlags(Qt::AlignHCenter | Qt::AlignVCenter) + colorIndex(SAC_DEFAULT) { setFlag(ItemIgnoresTransformations); } |