1
0
Fork 0

Launcher respects —enable-fullscreen arg

Patch by Slawek Mikula from:
https://sourceforge.net/p/flightgear/codetickets/2162/
This commit is contained in:
James Turner 2019-12-17 22:40:25 +00:00
parent c48c1a06e8
commit ba36bd90e0

View file

@ -466,7 +466,11 @@ bool runLauncherDialog()
flightgear::WindowBuilder::setPoseAsStandaloneApp(false);
LauncherMainWindow dlg;
if (options->isOptionSet("enable-fullscreen")) {
dlg.showFullScreen();
} else {
dlg.show();
}
int appResult = qApp->exec();
if (appResult <= 0) {