From ba36bd90e020197b013fa47f7717ce99141bf40d Mon Sep 17 00:00:00 2001 From: James Turner Date: Tue, 17 Dec 2019 22:40:25 +0000 Subject: [PATCH] =?UTF-8?q?Launcher=20respects=20=E2=80=94enable-fullscree?= =?UTF-8?q?n=20arg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Slawek Mikula from: https://sourceforge.net/p/flightgear/codetickets/2162/ --- src/GUI/QtLauncher.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/GUI/QtLauncher.cxx b/src/GUI/QtLauncher.cxx index 5e934bcd4..a7f1133a3 100644 --- a/src/GUI/QtLauncher.cxx +++ b/src/GUI/QtLauncher.cxx @@ -466,7 +466,11 @@ bool runLauncherDialog() flightgear::WindowBuilder::setPoseAsStandaloneApp(false); LauncherMainWindow dlg; - dlg.show(); + if (options->isOptionSet("enable-fullscreen")) { + dlg.showFullScreen(); + } else { + dlg.show(); + } int appResult = qApp->exec(); if (appResult <= 0) {