diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-11-05 03:56:56 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-11-05 04:48:03 (GMT) |
commit | 656870157932a0b44de69927faa003c71eeb2a47 (patch) | |
tree | 569c205b62aca853b5f24118f1384a748b7efc84 /src/declarative/util | |
parent | d39ec85b7e5d8702c2888cdad4ccdae72531c199 (diff) | |
download | Qt-656870157932a0b44de69927faa003c71eeb2a47.zip Qt-656870157932a0b44de69927faa003c71eeb2a47.tar.gz Qt-656870157932a0b44de69927faa003c71eeb2a47.tar.bz2 |
Fix signal overriding.
Diffstat (limited to 'src/declarative/util')
-rw-r--r-- | src/declarative/util/qmlpropertychanges.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qmlpropertychanges.cpp b/src/declarative/util/qmlpropertychanges.cpp index dbf2bc4..3cc6ca9 100644 --- a/src/declarative/util/qmlpropertychanges.cpp +++ b/src/declarative/util/qmlpropertychanges.cpp @@ -307,7 +307,7 @@ QmlPropertyChangesPrivate::property(const QByteArray &property) if (!prop.isValid()) { qmlInfo(QmlPropertyChanges::tr("Cannot assign to non-existant property \"%1\"").arg(QString::fromUtf8(property)), q); return QmlMetaProperty(); - } else if (!prop.isWritable()) { + } else if (prop.type() != QmlMetaProperty::SignalProperty && !prop.isWritable()) { qmlInfo(QmlPropertyChanges::tr("Cannot assign to read-only property \"%1\"").arg(QString::fromUtf8(property)), q); return QmlMetaProperty(); } |