diff options
Diffstat (limited to 'src/qml/qml/qqmlcomponent.cpp')
-rw-r--r-- | src/qml/qml/qqmlcomponent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlcomponent.cpp b/src/qml/qml/qqmlcomponent.cpp index e98529a25e..0b76c0f176 100644 --- a/src/qml/qml/qqmlcomponent.cpp +++ b/src/qml/qml/qqmlcomponent.cpp @@ -1259,7 +1259,7 @@ void QQmlComponent::createObject(QQmlV4Function *args) if (!rv) args->setReturnValue(QV4::Encode::null()); else - args->setReturnValue(object.asReturnedValue()); + args->setReturnValue(object->asReturnedValue()); } /*! |