From f4f5f14c3ff80a4be5c3c9157fd11fdfef071733 Mon Sep 17 00:00:00 2001 From: baydam Date: Tue, 19 Apr 2016 11:55:15 +0000 Subject: [PATCH] The menu bar is not become visible when the main windows receive focus (untesting on Ubuntu) --- OutputGLWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OutputGLWindow.cpp b/OutputGLWindow.cpp index d9ffbad..bdd333d 100644 --- a/OutputGLWindow.cpp +++ b/OutputGLWindow.cpp @@ -71,7 +71,7 @@ void OutputGLWindow::setFullScreen(bool fullscreen) // However this still seems to be needed on Ubuntu 15.10. // Fix source: // http://stackoverflow.com/questions/12645880/fullscreen-for-qdialog-from-within-mainwindow-only-working-sometimes - setWindowFlags(Qt::Window); + setWindowFlags(Qt::Window | Qt::FramelessWindowHint); #endif showFullScreen(); }