summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qmlengine.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/declarative/qml/qmlengine.cpp b/src/declarative/qml/qmlengine.cpp
index 227aeb0..b2d3a9c 100644
--- a/src/declarative/qml/qmlengine.cpp
+++ b/src/declarative/qml/qmlengine.cpp
@@ -1027,9 +1027,7 @@ QVariant QmlExpression::value()
}
rv = QVariant::fromValue(list);
}
- } /*else if (svalue.isVariant()) {
- rv = svalue.toVariant();
- }*/ else if (svalue.isObject()) {
+ } else if (svalue.isObject()) {
QScriptValue objValue = svalue.data();
if (objValue.isValid())
rv = objValue.toVariant();