diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/libs/qmljs/qmljslink.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libs/qmljs/qmljslink.cpp b/src/libs/qmljs/qmljslink.cpp index c076773821..12b4497b9c 100644 --- a/src/libs/qmljs/qmljslink.cpp +++ b/src/libs/qmljs/qmljslink.cpp @@ -160,11 +160,6 @@ void Link::populateImportedTypes(Interpreter::ObjectValue *typeEnv, Document::Pt if (! (doc->qmlProgram() && doc->qmlProgram()->imports)) return; - // Add the implicitly available Script type - const ObjectValue *scriptValue = engine()->cppQmlTypes().typeForImport("Script"); - if (scriptValue) - typeEnv->setProperty("Script", scriptValue); - // implicit imports: // qml files in the same directory are available without explicit imports foreach (Document::Ptr otherDoc, _snapshot.documentsInDirectory(doc->path())) { |
