summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlinstruction.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-06-09 01:16:41 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-06-09 01:16:41 (GMT)
commit991b41aa407b5a8740e6899a3efdc724276dcb95 (patch)
tree09704bd06a87731269f9571abd9943e010923853 /src/declarative/qml/qmlinstruction.cpp
parentef4378dd282ed51098d1366792e46e9cfbde727a (diff)
downloadQt-991b41aa407b5a8740e6899a3efdc724276dcb95.zip
Qt-991b41aa407b5a8740e6899a3efdc724276dcb95.tar.gz
Qt-991b41aa407b5a8740e6899a3efdc724276dcb95.tar.bz2
Fix handling of qreal properties.
This is to bring us in line with the fix made to moc's handling of qreal properties.
Diffstat (limited to 'src/declarative/qml/qmlinstruction.cpp')
-rw-r--r--src/declarative/qml/qmlinstruction.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlinstruction.cpp b/src/declarative/qml/qmlinstruction.cpp
index 0aa860d..af1489a 100644
--- a/src/declarative/qml/qmlinstruction.cpp
+++ b/src/declarative/qml/qmlinstruction.cpp
@@ -70,8 +70,11 @@ void QmlCompiledComponent::dump(QmlInstruction *instr, int idx)
case QmlInstruction::StoreMetaObject:
qWarning() << idx << "\t" << line << "\t" << "STORE_META\t\t" << instr->storeMeta.data << "\t" << instr->storeMeta.slotData;
break;
- case QmlInstruction::StoreReal:
- qWarning() << idx << "\t" << line << "\t" << "STORE_REAL\t\t" << instr->storeReal.propertyIndex << "\t" << instr->storeReal.value;
+ case QmlInstruction::StoreFloat:
+ qWarning() << idx << "\t" << line << "\t" << "STORE_FLOAT\t\t" << instr->storeFloat.propertyIndex << "\t" << instr->storeFloat.value;
+ break;
+ case QmlInstruction::StoreDouble:
+ qWarning() << idx << "\t" << line << "\t" << "STORE_DOUBLE\t\t" << instr->storeDouble.propertyIndex << "\t" << instr->storeDouble.value;
break;
case QmlInstruction::StoreInteger:
qWarning() << idx << "\t" << line << "\t" << "STORE_INTEGER\t\t" << instr->storeInteger.propertyIndex << "\t" << instr->storeInteger.value;