forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user