diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-14 07:50:16 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-14 07:50:16 (GMT) |
commit | 712ea07c079c8ac9ea0e397638e7547138b4a087 (patch) | |
tree | 2a2880531c5c799c9c85b937f193cf622cf38866 /src/declarative | |
parent | 98546b9f6ffc5de07bb027243732b939cf2b407f (diff) | |
download | Qt-712ea07c079c8ac9ea0e397638e7547138b4a087.zip Qt-712ea07c079c8ac9ea0e397638e7547138b4a087.tar.gz Qt-712ea07c079c8ac9ea0e397638e7547138b4a087.tar.bz2 |
Make assigning to a QList and a QmlList consistent
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/qml/qmlmetaproperty.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlmetaproperty.cpp b/src/declarative/qml/qmlmetaproperty.cpp index 86116c7..5635016 100644 --- a/src/declarative/qml/qmlmetaproperty.cpp +++ b/src/declarative/qml/qmlmetaproperty.cpp @@ -906,7 +906,6 @@ void QmlMetaPropertyPrivate::write(QObject *object, const QmlPropertyCache::Data } else if (vt == listType || value.userType() == listType) { QVariant listVar = prop.read(object); - QmlMetaType::clear(listVar); QmlMetaType::append(listVar, value); } |