aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/customitems/painteditem/textballoon.h
diff options
context:
space:
mode:
authorXiao YaoBing <[email protected]>2021-03-16 17:45:50 +0800
committerXiao YaoBing <[email protected]>2021-03-17 10:21:02 +0800
commit073f3d23b2208bc4494e9e8d7af90f3ae865d811 (patch)
treeec9a00e0839c196ca6f4bbff615743c612de7419 /examples/quick/customitems/painteditem/textballoon.h
parent698bbb74f06f9566b3812e9123838fdc7b57c388 (diff)
make isRightAligned() const and setNoiseSource() const reference
Guessing the const specifier was accidentally forgotten Change-Id: I88aaacbd9f8562c8a0b800013bb596c166fae6d7 Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'examples/quick/customitems/painteditem/textballoon.h')
-rw-r--r--examples/quick/customitems/painteditem/textballoon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/customitems/painteditem/textballoon.h b/examples/quick/customitems/painteditem/textballoon.h
index eb72804602..129b0f7ee1 100644
--- a/examples/quick/customitems/painteditem/textballoon.h
+++ b/examples/quick/customitems/painteditem/textballoon.h
@@ -64,7 +64,7 @@ class TextBalloon : public QQuickPaintedItem
TextBalloon(QQuickItem *parent = 0);
void paint(QPainter *painter);
- bool isRightAligned();
+ bool isRightAligned() const;
void setRightAligned(bool rightAligned);
private: