use QUrl::fromLocalFile
This commit is contained in:
parent
2a575c810d
commit
49bb894a21
@ -141,7 +141,7 @@ QUrl PackageUrlInterceptor::intercept(const QUrl &path, QQmlAbstractUrlIntercept
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return QUrl("file://" + allowedPaths.first() + "/org/kde/plasma/accessdenied/qmldir");
|
return QUrl::fromLocalFile( allowedPaths.first() + "/org/kde/plasma/accessdenied/qmldir");
|
||||||
}
|
}
|
||||||
|
|
||||||
qWarning() << "WARNING: Access denied for URL" << path << m_package.path();
|
qWarning() << "WARNING: Access denied for URL" << path << m_package.path();
|
||||||
|
Loading…
Reference in New Issue
Block a user