mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
cleanup some extra spacing
This commit is contained in:
parent
80af749b69
commit
8562a294fa
1 changed files with 1 additions and 2 deletions
|
@ -269,11 +269,10 @@ void RenderableWebEntityItem::loadSourceURL() {
|
|||
_webSurface->load("WebView.qml", [&](QQmlContext* context, QObject* obj) {
|
||||
context->setContextProperty("eventBridgeJavaScriptToInject", QVariant(_javaScriptToInject));
|
||||
});
|
||||
|
||||
_webSurface->getRootItem()->setProperty("url", _sourceUrl);
|
||||
_webSurface->getRootContext()->setContextProperty("desktop", QVariant());
|
||||
|
||||
|
||||
|
||||
} else {
|
||||
_contentType = qmlContent;
|
||||
_webSurface->setBaseUrl(QUrl::fromLocalFile(PathUtils::resourcesPath()));
|
||||
|
|
Loading…
Reference in a new issue