mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 16:19:27 +02:00
At least on Linux, fixes an annoying issue where closing the application
window causes it to disappear and reappear briefly before exiting.
This commit is contained in:
parent
22bee75f7f
commit
4d233c09a3
1 changed files with 3 additions and 1 deletions
|
@ -1574,7 +1574,9 @@ void Application::setFullscreen(bool fullscreen) {
|
|||
}
|
||||
_window->setWindowState(fullscreen ? (_window->windowState() | Qt::WindowFullScreen) :
|
||||
(_window->windowState() & ~Qt::WindowFullScreen));
|
||||
_window->show();
|
||||
if (!_aboutToQuit) {
|
||||
_window->show();
|
||||
}
|
||||
}
|
||||
|
||||
void Application::setEnable3DTVMode(bool enable3DTVMode) {
|
||||
|
|
Loading…
Reference in a new issue