support file selectors
This commit is contained in:
parent
c79118e907
commit
15e3d10ef8
@ -128,6 +128,7 @@ void ConfigViewPrivate::init()
|
||||
PackageUrlInterceptor *interceptor = new PackageUrlInterceptor(q->engine(), pkg);
|
||||
interceptor->addAllowedPath(applet.data()->kPackage().path());
|
||||
q->engine()->setUrlInterceptor(interceptor);
|
||||
new QQmlFileSelector(q->engine(), q->engine());
|
||||
}
|
||||
|
||||
q->setResizeMode(QQuickView::SizeViewToRootObject);
|
||||
|
Loading…
Reference in New Issue
Block a user