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

This commit is contained in:
Bradley Austin Davis 2018-02-07 15:27:34 -08:00
parent 40851b097f
commit 2c514b5d1b

View file

@ -55,7 +55,7 @@ void Application::paintGL() {
// If a display plugin loses it's underlying support, it
// needs to be able to signal us to not use it
if (!displayPlugin->beginFrameRender(_renderFrameCount)) {
updateDisplayMode();
QMetaObject::invokeMethod(this, "updateDisplayMode");
return;
}
}