diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2010-04-13 12:15:09 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-04-14 17:00:54 +0200 |
commit | e3fabd178956930fc102f6a1707c2de0bea24679 (patch) | |
tree | a794e992b07a3a655f65f236f3218c974d933ae2 | |
parent | cab2101d908d97b0b6fcbc32ac6bcb08f01865fe (diff) | |
download | qt-creator-e3fabd178956930fc102f6a1707c2de0bea24679.tar.gz |
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 559ac20680900ed64c9306f22540f4f4f59cb985)
-rw-r--r-- | src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp b/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp index ae9dd3c4f5..adcb5ae470 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.cpp @@ -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) |