summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxtext.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-07-03 03:00:50 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-07-03 03:00:50 (GMT)
commite514c8c498bee83af9e2c688193fe7701e461617 (patch)
tree13327c27ea68b947cffc0f0224a57131051dc91e /src/declarative/fx/qfxtext.h
parent6dee715bdc2ff49292f3711446b3616731d681ad (diff)
downloadQt-e514c8c498bee83af9e2c688193fe7701e461617.zip
Qt-e514c8c498bee83af9e2c688193fe7701e461617.tar.gz
Qt-e514c8c498bee83af9e2c688193fe7701e461617.tar.bz2
Warn annoyingly on non-notifyable properties
Diffstat (limited to 'src/declarative/fx/qfxtext.h')
-rw-r--r--src/declarative/fx/qfxtext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxtext.h b/src/declarative/fx/qfxtext.h
index 104d18c..ee38a94 100644
--- a/src/declarative/fx/qfxtext.h
+++ b/src/declarative/fx/qfxtext.h
@@ -60,7 +60,7 @@ class Q_DECLARATIVE_EXPORT QFxText : public QFxItem
Q_ENUMS(TextStyle)
Q_PROPERTY(QString text READ text WRITE setText NOTIFY textChanged)
- Q_PROPERTY(QmlFont *font READ font)
+ Q_PROPERTY(QmlFont *font READ font CONSTANT)
Q_PROPERTY(QColor color READ color WRITE setColor)
Q_PROPERTY(TextStyle style READ style WRITE setStyle)
Q_PROPERTY(QColor styleColor READ styleColor WRITE setStyleColor)