summaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/divetextitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/profile/divetextitem.h')
-rw-r--r--qt-ui/profile/divetextitem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/profile/divetextitem.h b/qt-ui/profile/divetextitem.h
index 6771d91d3..774693c0c 100644
--- a/qt-ui/profile/divetextitem.h
+++ b/qt-ui/profile/divetextitem.h
@@ -18,12 +18,13 @@ public:
void setBrush(const QBrush& brush);
void animatedHide();
void animateMoveTo(qreal x, qreal y);
+ const QString& text();
private:
void updateText();
int internalAlignFlags;
QGraphicsPathItem *textBackgroundItem;
QGraphicsPathItem *textItem;
- QString text;
+ QString internalText;
color_indice_t colorIndex;
QBrush brush;
};