mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 19:45:15 +02:00
Fix starting up fullscreen
This commit is contained in:
parent
22d9ff2788
commit
032896f75c
1 changed files with 4 additions and 0 deletions
|
@ -460,6 +460,10 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) :
|
|||
_glWidget->setMouseTracking(true);
|
||||
|
||||
_fullscreenMenuWidget->setParent(_glWidget);
|
||||
_menuBarHeight = Menu::getInstance()->height();
|
||||
if (Menu::getInstance()->isOptionChecked(MenuOption::Fullscreen)) {
|
||||
setFullscreen(true); // Initialize menu bar show/hide
|
||||
}
|
||||
|
||||
_toolWindow = new ToolWindow();
|
||||
_toolWindow->setWindowFlags(_toolWindow->windowFlags() | Qt::WindowStaysOnTopHint);
|
||||
|
|
Loading…
Reference in a new issue