summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeinstruction.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-05-12 07:02:14 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-05-12 07:02:14 (GMT)
commit01fbf55727678509f87523ef2ddda1d21d4ac2ab (patch)
treefc35b33603c028ecbb378c3163676bef2cd8132e /src/declarative/qml/qdeclarativeinstruction.cpp
parent9a45f780a24625f8f1104a6e2442f00874ab296f (diff)
downloadQt-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.cpp3
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;