Update interface/src/ui/InteractiveWindow.cpp

Co-authored-by: David Rowe <david@ctrlaltstudio.com>
This commit is contained in:
HifiExperiments 2021-01-29 17:10:56 -08:00 committed by GitHub
parent ff6f7233e4
commit 64e9cf6884
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -363,9 +363,9 @@ InteractiveWindow::InteractiveWindow(const QString& sourceUrl, const QVariantMap
object->setProperty(SOURCE_PROPERTY, sourceURL);
};
if (auto offscreenUi = DependencyManager::get<OffscreenUi>()) {
if (auto offscreenUI = DependencyManager::get<OffscreenUi>()) {
// Build the event bridge and wrapper on the main thread
offscreenUi->loadInNewContext(CONTENT_WINDOW_QML, objectInitLambda, contextInitLambda);
offscreenUI->loadInNewContext(CONTENT_WINDOW_QML, objectInitLambda, contextInitLambda);
}
}
}