diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-05-12 07:02:14 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-05-12 07:02:14 (GMT) |
commit | 01fbf55727678509f87523ef2ddda1d21d4ac2ab (patch) | |
tree | fc35b33603c028ecbb378c3163676bef2cd8132e /src/declarative/qml/qdeclarativeinstruction.cpp | |
parent | 9a45f780a24625f8f1104a6e2442f00874ab296f (diff) | |
download | Qt-01fbf55727678509f87523ef2ddda1d21d4ac2ab.zip Qt-01fbf55727678509f87523ef2ddda1d21d4ac2ab.tar.gz Qt-01fbf55727678509f87523ef2ddda1d21d4ac2ab.tar.bz2 |
Correctly assign bool to variant properties
QTBUG-10623
Diffstat (limited to 'src/declarative/qml/qdeclarativeinstruction.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativeinstruction.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativeinstruction.cpp b/src/declarative/qml/qdeclarativeinstruction.cpp index 99f1cc8..0236950 100644 --- a/src/declarative/qml/qdeclarativeinstruction.cpp +++ b/src/declarative/qml/qdeclarativeinstruction.cpp @@ -136,6 +136,9 @@ void QDeclarativeCompiledData::dump(QDeclarativeInstruction *instr, int idx) case QDeclarativeInstruction::StoreVariantDouble: qWarning().nospace() << idx << "\t\t" << line << "\t" << "STORE_VARIANT_DOUBLE\t\t" << instr->storeDouble.propertyIndex << "\t" << instr->storeDouble.value; break; + case QDeclarativeInstruction::StoreVariantBool: + qWarning().nospace() << idx << "\t\t" << line << "\t" << "STORE_VARIANT_BOOL\t\t" << instr->storeBool.propertyIndex << "\t" << instr->storeBool.value; + break; case QDeclarativeInstruction::StoreObject: qWarning().nospace() << idx << "\t\t" << line << "\t" << "STORE_OBJECT\t\t" << instr->storeObject.propertyIndex; break; |