summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-01-11 07:59:10 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-01-11 07:59:10 (GMT)
commit092b4469b1e54c47d3baa615b9d1df5ed10bb10b (patch)
tree518128298504ff7c0f94e5eddf86438ddaf17a4d
parentb90d963ca4a021796188a8d1629e600c47a90fba (diff)
downloadQt-092b4469b1e54c47d3baa615b9d1df5ed10bb10b.zip
Qt-092b4469b1e54c47d3baa615b9d1df5ed10bb10b.tar.gz
Qt-092b4469b1e54c47d3baa615b9d1df5ed10bb10b.tar.bz2
Crash
-rw-r--r--src/declarative/qml/qmlbindingvme.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlbindingvme.cpp b/src/declarative/qml/qmlbindingvme.cpp
index 29391a6..493aeaf 100644
--- a/src/declarative/qml/qmlbindingvme.cpp
+++ b/src/declarative/qml/qmlbindingvme.cpp
@@ -570,7 +570,6 @@ inline static qreal toReal(Register *reg, int type, bool *ok = 0)
if (type == QMetaType::QReal) {
return reg->getqreal();
} else if (type == qMetaTypeId<QVariant>()) {
- *ok = true;
return reg->getvariantptr()->toReal();
} else {
if (ok) *ok = false;