History

At least on Linux, fixes an annoying issue where closing the application window causes it to disappear and reappear briefly before exiting.

Andrzej Kapolka committed 11 years ago

Commit 4d233c01 parent 22bee751 file · +3 −1Browse files

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

Unified · Split

interface/src/Application.cpp+3−1
@@ -1574,7 +1574,9 @@ void Application::setFullscreen(bool fullscreen) { · 1573 unmodified lines
15741574 }
15751575 _window->setWindowState(fullscreen ? (_window->windowState() | Qt::WindowFullScreen) :
15761576 (_window->windowState() & ~Qt::WindowFullScreen));
1577− _window->show();
1577+ if (!_aboutToQuit) {
1578+ _window->show();
1579+ }
15781580 }
15791581
15801582 void Application::setEnable3DTVMode(bool enable3DTVMode) {