Refactor singleton type registration code
[profile/ivi/qtdeclarative.git] / src / qml / qml / qqmlcompiler.cpp
index c9f66a4..88312be 100644 (file)
@@ -896,7 +896,7 @@ void QQmlCompiler::compileTree(QQmlScript::Object *tree)
         output->importCache->add(qualifier, scriptIndex++, enclosingNamespace);
     }
 
-    unit->imports().populateCache(output->importCache, engine);
+    unit->imports().populateCache(output->importCache);
 
     if (!buildObject(tree, BindingContext()) || !completeComponentBuild())
         return;