the config view can load files from the applet pkg

This commit is contained in:
Marco Martin 2014-08-26 18:11:11 +02:00
parent 2b7d633687
commit ccab23fccb

View File

@ -111,6 +111,7 @@ void ConfigViewPrivate::init()
if (corona->package().isValid()) {
PackageUrlInterceptor *interceptor = new PackageUrlInterceptor(q->engine(), corona->package());
interceptor->addAllowedPath(applet.data()->package().path());
q->engine()->setUrlInterceptor(interceptor);
}