From f94b082946f425263ce947169d9b7b03ab83103f Mon Sep 17 00:00:00 2001 From: amer cerkic Date: Wed, 24 Jul 2019 11:47:10 -0700 Subject: [PATCH] addressing comment --- interface/src/ui/InteractiveWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/ui/InteractiveWindow.cpp b/interface/src/ui/InteractiveWindow.cpp index 49c8d51812..f8961c6de1 100644 --- a/interface/src/ui/InteractiveWindow.cpp +++ b/interface/src/ui/InteractiveWindow.cpp @@ -217,7 +217,7 @@ InteractiveWindow::InteractiveWindow(const QString& sourceUrl, const QVariantMap } else { auto offscreenUi = DependencyManager::get(); // Build the event bridge and wrapper on the main thread - offscreenUi->loadInNewContext(CONTENT_WINDOW_QML, [&, this](QQmlContext* context, QObject* object) { + offscreenUi->loadInNewContext(CONTENT_WINDOW_QML, [&](QQmlContext* context, QObject* object) { _qmlWindowProxy = std::shared_ptr(new QmlWindowProxy(object, nullptr), qmlWindowProxyDeleter); context->setContextProperty(EVENT_BRIDGE_PROPERTY, _interactiveWindowProxy); if (properties.contains(ADDITIONAL_FLAGS_PROPERTY)) {