cleanup some extra spacing

This commit is contained in:
Stephen Birarda 2017-02-28 13:24:41 -08:00
parent 80af749b69
commit 8562a294fa

View file

@ -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()));