Add --fullscreen command line parameter. Fix some mistakes in --help.

This commit is contained in:
Filippo Scognamiglio
2014-10-10 00:40:31 +02:00
parent 1cbedb41d9
commit 29ec02b65e
2 changed files with 9 additions and 3 deletions

View File

@@ -404,6 +404,11 @@ Item{
else
console.log("Warning: selected profile is not valid; ignoring it");
}
if (args.indexOf("--fullscreen") !== -1) {
fullscreen = true;
showMenubar = false;
}
}
Component.onDestruction: {
storeSettings();