1
0
mirror of https://github.com/Swordfish90/cool-retro-term.git synced 2025-11-01 23:52:06 +00:00

Merge pull request #409 from haesbaert/master

Add a -T option that sets window title.
This commit is contained in:
Filippo Scognamiglio
2018-02-25 11:53:42 +01:00
committed by GitHub
3 changed files with 10 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ QtObject{
property bool fullscreen: false
property bool showMenubar: true
property string wintitle: "cool-retro-term"
property real windowOpacity: 1.0
property real ambientLight: 0.2
property real contrast: 0.85
@@ -485,6 +487,10 @@ QtObject{
showMenubar = false;
}
if (args.indexOf("-T") !== -1) {
wintitle = args[args.indexOf("-T") + 1]
}
initializedSettings();
}
Component.onDestruction: {