diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-10-15 08:28:03 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-10-15 08:50:07 (GMT) |
commit | 2eb67032ea81aa105a854644f337ad5377c2994e (patch) | |
tree | 607ec93728281836a3a5661397495b014229dcfd /src/declarative | |
parent | 2967e68f9a3bae4f5a2865ac901b08d8b6f0f0f1 (diff) | |
download | Qt-2eb67032ea81aa105a854644f337ad5377c2994e.zip Qt-2eb67032ea81aa105a854644f337ad5377c2994e.tar.gz Qt-2eb67032ea81aa105a854644f337ad5377c2994e.tar.bz2 |
Fix dynamic example
Had some accidental global vars
Task-number: One of the QT-2270s
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/qml/qmlobjectscriptclass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlobjectscriptclass.cpp b/src/declarative/qml/qmlobjectscriptclass.cpp index 122db51..ae2cfcc 100644 --- a/src/declarative/qml/qmlobjectscriptclass.cpp +++ b/src/declarative/qml/qmlobjectscriptclass.cpp @@ -250,6 +250,7 @@ void QmlObjectScriptClass::setProperty(QObject *obj, Q_ASSERT(lastData); QmlEnginePrivate *enginePriv = QmlEnginePrivate::get(engine); + Q_ASSERT(enginePriv->currentExpression); // ### Can well known types be optimized? QVariant v = QmlScriptClass::toVariant(engine, value); |