diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-02-17 03:39:45 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-02-17 03:39:45 (GMT) |
commit | 9f12ede32d9eaadde7b1f72cf2191f39d5780d57 (patch) | |
tree | 96bbdc9d95c9cd9e087ab2f7c0d19e18e28a1e4a /src/declarative/qml/qmlobjectscriptclass.cpp | |
parent | b4754aa9a3761c1bcd8519280d98e34371f4ff10 (diff) | |
download | Qt-9f12ede32d9eaadde7b1f72cf2191f39d5780d57.zip Qt-9f12ede32d9eaadde7b1f72cf2191f39d5780d57.tar.gz Qt-9f12ede32d9eaadde7b1f72cf2191f39d5780d57.tar.bz2 |
Revert "Replace QList<>* support with QmlListProperty"
This was accidentally pushed early.
This reverts commit 8454c53b304a4aba7c058b315041b3a38ad4fff5.
Diffstat (limited to 'src/declarative/qml/qmlobjectscriptclass.cpp')
-rw-r--r-- | src/declarative/qml/qmlobjectscriptclass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlobjectscriptclass.cpp b/src/declarative/qml/qmlobjectscriptclass.cpp index 75b5c08..1c41d46 100644 --- a/src/declarative/qml/qmlobjectscriptclass.cpp +++ b/src/declarative/qml/qmlobjectscriptclass.cpp @@ -239,7 +239,7 @@ QmlObjectScriptClass::property(QObject *obj, const Identifier &name) } if (lastData->flags & QmlPropertyCache::Data::IsQList) { - return Value(scriptEngine, enginePriv->listClass->newList(obj, lastData->coreIndex, QmlListScriptClass::ListProperty, lastData->propType)); + return Value(scriptEngine, enginePriv->listClass->newList(obj, lastData->coreIndex, QmlListScriptClass::QListPtr, lastData->propType)); } else if (lastData->flags & QmlPropertyCache::Data::IsQmlList) { return Value(scriptEngine, enginePriv->listClass->newList(obj, lastData->coreIndex, QmlListScriptClass::QmlListPtr, lastData->propType)); } else if (lastData->flags & QmlPropertyCache::Data::IsQObjectDerived) { |