From 10bb8666547f1f9c400ef46c930022e921e29504 Mon Sep 17 00:00:00 2001 From: keeshii Date: Tue, 10 Oct 2023 18:46:04 +0200 Subject: [PATCH] Added support for QML inside web-entities. - removed file protocol from the default QML whitelist - adjusted dpi of the wizard to more standard value --- interface/resources/serverless/Scripts/wizardLoader.js | 2 +- interface/src/Application.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/resources/serverless/Scripts/wizardLoader.js b/interface/resources/serverless/Scripts/wizardLoader.js index 14da46b364..3446e0be78 100644 --- a/interface/resources/serverless/Scripts/wizardLoader.js +++ b/interface/resources/serverless/Scripts/wizardLoader.js @@ -54,7 +54,7 @@ "parentID": loaderEntityID, "sourceUrl": CONFIG_WIZARD_URL, "maxFPS": 60, - "dpi": 19, + "dpi": 15, "useBackground": true, "grab": { "grabbable": false diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index a53b162f42..63fdc46613 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -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) {