deactivate the internal import directory in a (futile?) attempt to prevent binary libraries into /share

svn path=/trunk/KDE/kdebase/runtime/; revision=1204751
This commit is contained in:
Marco Martin 2010-12-08 22:45:45 +00:00
parent 20e4b7ca35
commit 63a8e6caec

View File

@ -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));