QmlDesigner: Fix PropertyEditor with latest qt.git

It seems the runtime got new checks, since loading the Property Editor
failed with
 'Invalid property assignment: "font" is a read-only property"'

Reviewed-by: Thomas Hartmann
(cherry picked from commit 559ac20680)
This commit is contained in:
Kai Koehne
2010-04-13 12:15:09 +02:00
committed by con
parent cab2101d90
commit e3fabd1789

View File

@@ -107,7 +107,7 @@ class QWidgetDeclarativeUI : public QObject
Q_PROPERTY(QDeclarativeListProperty<QObject> children READ children)
Q_PROPERTY(QLayoutObject *layout READ layout WRITE setLayout)
Q_PROPERTY(QDeclarativeListProperty<Action> actions READ actions)
Q_PROPERTY(QFont font READ font CONSTANT)
Q_PROPERTY(QFont font READ font WRITE setFont)
Q_PROPERTY(QPoint pos READ pos)
Q_PROPERTY(QSize size READ size)