History

Don't trigger a backtrace exception on quitting while in HMD

Bradley Austin Davis committed 8 years ago

Commit 2c514b51 parent 40851b01 file · +1 −1Browse files

Showing the changes to interface/src/Application_render.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application_render.cpp+1−1
@@ -55,7 +55,7 @@ void Application::paintGL() { · 54 unmodified lines
5555 // If a display plugin loses it's underlying support, it
5656 // needs to be able to signal us to not use it
5757 if (!displayPlugin->beginFrameRender(_renderFrameCount)) {
58− updateDisplayMode();
58+ QMetaObject::invokeMethod(this, "updateDisplayMode");
5959 return;
6060 }
6161 }