diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-04-28 01:32:24 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-04-28 01:32:24 (GMT) |
commit | 4927fb460e12ee8b4dada1025ad042d2b6b9b6f4 (patch) | |
tree | 512d035357c8b56859c01ca7d211b86ec986787d /src/declarative/qml/qmlinstruction.cpp | |
parent | eae3489b3f2fba9d733ca50eb89dc92a6e96e6f8 (diff) | |
download | Qt-4927fb460e12ee8b4dada1025ad042d2b6b9b6f4.zip Qt-4927fb460e12ee8b4dada1025ad042d2b6b9b6f4.tar.gz Qt-4927fb460e12ee8b4dada1025ad042d2b6b9b6f4.tar.bz2 |
Use QObject declarative data to store attached properties.
An element's qmlAttachedProperties() function will now only ever get called once
per object.
Diffstat (limited to 'src/declarative/qml/qmlinstruction.cpp')
-rw-r--r-- | src/declarative/qml/qmlinstruction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlinstruction.cpp b/src/declarative/qml/qmlinstruction.cpp index 9938022..848c8db 100644 --- a/src/declarative/qml/qmlinstruction.cpp +++ b/src/declarative/qml/qmlinstruction.cpp @@ -173,7 +173,7 @@ void QmlCompiledComponent::dump(QmlInstruction *instr, int idx) qWarning() << idx << "\t" << line << "\t" << "ASSIGN_OBJECT_LIST\t" << instr->assignObject.property << "\t" << instr->assignObject.castValue << "\t\t" << ((instr->assignObject.property == -1)?QByteArray("default"):datas.at(instr->assignObject.property)); break; case QmlInstruction::FetchAttached: - qWarning() << idx << "\t" << line << "\t" << "FETCH_ATTACHED\t\t" << instr->fetchAttached.idx << "\t\t\t" << primitives.at(instr->fetchAttached.idx); + qWarning() << idx << "\t" << line << "\t" << "FETCH_ATTACHED\t\t" << instr->fetchAttached.id; break; case QmlInstruction::FetchQmlList: qWarning() << idx << "\t" << line << "\t" << "FETCH_QMLLIST\t\t" << instr->fetchQmlList.property << "\t" << instr->fetchQmlList.type; |