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:
parent
20e4b7ca35
commit
63a8e6caec
@ -84,7 +84,7 @@ bool DeclarativeAppletScript::init()
|
|||||||
|
|
||||||
//make possible to import extensions from the package
|
//make possible to import extensions from the package
|
||||||
//FIXME: probably to be removed, would make possible to use native code from within 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
|
//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));
|
m_declarativeWidget->engine()->setNetworkAccessManagerFactory(new PackageAccessManagerFactory(package(), &m_auth));
|
||||||
|
Loading…
Reference in New Issue
Block a user