diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-11 07:59:10 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-11 07:59:10 (GMT) |
commit | 092b4469b1e54c47d3baa615b9d1df5ed10bb10b (patch) | |
tree | 518128298504ff7c0f94e5eddf86438ddaf17a4d | |
parent | b90d963ca4a021796188a8d1629e600c47a90fba (diff) | |
download | Qt-092b4469b1e54c47d3baa615b9d1df5ed10bb10b.zip Qt-092b4469b1e54c47d3baa615b9d1df5ed10bb10b.tar.gz Qt-092b4469b1e54c47d3baa615b9d1df5ed10bb10b.tar.bz2 |
Crash
-rw-r--r-- | src/declarative/qml/qmlbindingvme.cpp | 1 |
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; |