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
1574 }1574 }
1575 _window->setWindowState(fullscreen ? (_window->windowState() | Qt::WindowFullScreen) :1575 _window->setWindowState(fullscreen ? (_window->windowState() | Qt::WindowFullScreen) :
1576 (_window->windowState() & ~Qt::WindowFullScreen));1576 (_window->windowState() & ~Qt::WindowFullScreen));
1577 _window->show();1577 if (!_aboutToQuit) {
1578 _window->show();
1579 }
1578}1580}
1579 1581
1580void Application::setEnable3DTVMode(bool enable3DTVMode) {1582void Application::setEnable3DTVMode(bool enable3DTVMode) {