the config view can load files from the applet pkg
This commit is contained in:
parent
2b7d633687
commit
ccab23fccb
@ -111,6 +111,7 @@ void ConfigViewPrivate::init()
|
|||||||
|
|
||||||
if (corona->package().isValid()) {
|
if (corona->package().isValid()) {
|
||||||
PackageUrlInterceptor *interceptor = new PackageUrlInterceptor(q->engine(), corona->package());
|
PackageUrlInterceptor *interceptor = new PackageUrlInterceptor(q->engine(), corona->package());
|
||||||
|
interceptor->addAllowedPath(applet.data()->package().path());
|
||||||
q->engine()->setUrlInterceptor(interceptor);
|
q->engine()->setUrlInterceptor(interceptor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user