Launcher respects —enable-fullscreen arg
Patch by Slawek Mikula from: https://sourceforge.net/p/flightgear/codetickets/2162/
This commit is contained in:
parent
c48c1a06e8
commit
ba36bd90e0
1 changed files with 5 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue