Workaround seems to have been accidentally disabled
This workaround is needed for applet internal qmldirs to be loaded. Fixes crasher in notifications applet.
This commit is contained in:
parent
3c0007db22
commit
94540a4262
@ -58,7 +58,7 @@ QUrl PackageUrlInterceptor::intercept(const QUrl &path, QQmlAbstractUrlIntercept
|
||||
|
||||
if (path.scheme() == QStringLiteral("plasmapackage")) {
|
||||
//FIXME: this is incorrect but works around a bug in qml in resolution of urls of qmldir files
|
||||
if (0&&type == QQmlAbstractUrlInterceptor::QmldirFile) {
|
||||
if (type == QQmlAbstractUrlInterceptor::QmldirFile) {
|
||||
return QUrl(m_package.filePath(0, path.path()));
|
||||
} else {
|
||||
return QUrl::fromLocalFile(m_package.filePath(0, path.path()));
|
||||
|
Loading…
Reference in New Issue
Block a user