diff --git a/scriptengines/javascript/plasmoid/declarativeappletscript.cpp b/scriptengines/javascript/plasmoid/declarativeappletscript.cpp index 4bb8be07c..ca6c9141d 100644 --- a/scriptengines/javascript/plasmoid/declarativeappletscript.cpp +++ b/scriptengines/javascript/plasmoid/declarativeappletscript.cpp @@ -84,7 +84,7 @@ bool DeclarativeAppletScript::init() //make possible to import extensions from the package //FIXME: probably to be removed, would make possible to use native code from within the package :/ - m_declarativeWidget->engine()->addImportPath(package()->path()+"/contents/imports"); + //m_declarativeWidget->engine()->addImportPath(package()->path()+"/contents/imports"); //use our own custom network access manager that will acces Plasma packages and to manage security (i.e. deny access to remote stuff when the proper extension isn't enabled m_declarativeWidget->engine()->setNetworkAccessManagerFactory(new PackageAccessManagerFactory(package(), &m_auth));