summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-14 07:50:16 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-14 07:50:16 (GMT)
commit712ea07c079c8ac9ea0e397638e7547138b4a087 (patch)
tree2a2880531c5c799c9c85b937f193cf622cf38866 /src/declarative
parent98546b9f6ffc5de07bb027243732b939cf2b407f (diff)
downloadQt-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.cpp1
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);
}