Added support for QML inside web-entities.

- removed file protocol from the default QML whitelist
- adjusted dpi of the wizard to more standard value
This commit is contained in:
keeshii 2023-10-10 18:46:04 +02:00
parent d3f652686e
commit 10bb866654
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@
"parentID": loaderEntityID,
"sourceUrl": CONFIG_WIZARD_URL,
"maxFPS": 60,
"dpi": 19,
"dpi": 15,
"useBackground": true,
"grab": {
"grabbable": false

View file

@ -3222,7 +3222,7 @@ void Application::initializeUi() {
// END PULL SAFEURLS FROM INTERFACE.JSON Settings
if (AUTHORIZED_EXTERNAL_QML_SOURCE.isParentOf(url) || url.scheme() == "file") {
if (AUTHORIZED_EXTERNAL_QML_SOURCE.isParentOf(url)) {
return true;
} else {
for (const auto& str : safeURLS) {