mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 02:22:32 +02:00
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:
parent
d3f652686e
commit
10bb866654
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@
|
|||
"parentID": loaderEntityID,
|
||||
"sourceUrl": CONFIG_WIZARD_URL,
|
||||
"maxFPS": 60,
|
||||
"dpi": 19,
|
||||
"dpi": 15,
|
||||
"useBackground": true,
|
||||
"grab": {
|
||||
"grabbable": false
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue