History

Miscellaneous tidying

David Rowe committed 6 years ago

Commit cd7e1d01 parent 3e94a032 files · +2 −2Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 2 files). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.cpp+1−1
@@ -650,7 +650,7 @@ void WindowScriptingInterface::openWebBrowser(const QString& url) { · 649 unmodified lines
650 QMetaObject::invokeMethod(this, "openWebBrowser", Q_ARG(const QString&, url));650 QMetaObject::invokeMethod(this, "openWebBrowser", Q_ARG(const QString&, url));
651 return;651 return;
652 }652 }
653 653
654 auto offscreenUi = DependencyManager::get<OffscreenUi>();654 auto offscreenUi = DependencyManager::get<OffscreenUi>();
655 offscreenUi->load("Browser.qml", [=](QQmlContext* context, QObject* newObject) {655 offscreenUi->load("Browser.qml", [=](QQmlContext* context, QObject* newObject) {
656 if (!url.isEmpty()) {656 if (!url.isEmpty()) {