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 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); }