History

Fixing merge errors

Bradley Austin Davis committed 8 years ago

Commit 7102cf41 parent dbc4b152 files · +6 −7Browse files

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

Unified · Split

interface/src/Application.cpp+3−5
@@ -2427,10 +2427,6 @@ void Application::initializeUi() { · 2426 unmodified lines
24272427 }
24282428
24292429 auto offscreenUi = DependencyManager::get<OffscreenUi>();
2430− DeadlockWatchdogThread::withPause([&] {
2431− offscreenUi->create();
2432− });
2433−
24342430 connect(offscreenUi.data(), &hifi::qml::OffscreenSurface::rootContextCreated,
24352431 this, &Application::onDesktopRootContextCreated);
24362432 connect(offscreenUi.data(), &hifi::qml::OffscreenSurface::rootItemCreated,
@@ -2439,7 +2435,9 @@ void Application::initializeUi() { · 2 unmodified lines
24392435 offscreenUi->setProxyWindow(_window->windowHandle());
24402436 // OffscreenUi is a subclass of OffscreenQmlSurface specifically designed to
24412437 // support the window management and scripting proxies for VR use
2442− offscreenUi->createDesktop(PathUtils::qmlUrl("hifi/Desktop.qml"));
2438+ DeadlockWatchdogThread::withPause([&] {
2439+ offscreenUi->createDesktop(PathUtils::qmlUrl("hifi/Desktop.qml"));
2440+ });
24432441 // FIXME either expose so that dialogs can set this themselves or
24442442 // do better detection in the offscreen UI of what has focus
24452443 offscreenUi->setNavigationFocused(false);