aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4engine.cpp')
-rw-r--r--src/qml/jsruntime/qv4engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4engine.cpp b/src/qml/jsruntime/qv4engine.cpp
index cd1a4e033c..b392ba4807 100644
--- a/src/qml/jsruntime/qv4engine.cpp
+++ b/src/qml/jsruntime/qv4engine.cpp
@@ -2162,7 +2162,7 @@ QV4::Value *ExecutionEngine::registerNativeModule(const QUrl &url, const QV4::Va
// Make sure the type loader doesn't try to resolve the script anymore.
if (m_qmlEngine)
- QQmlEnginePrivate::get(m_qmlEngine)->typeLoader.injectScript(url, *val);
+ QQmlEnginePrivate::get(m_qmlEngine)->typeLoader.injectScript(url);
return val;
}