mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2026-02-08 00:32:27 +00:00
Get rid of unused wintitle feature.
This commit is contained in:
@@ -66,7 +66,6 @@ int main(int argc, char *argv[])
|
||||
cout << " --default-settings Run cool-retro-term with the default settings" << Qt::endl;
|
||||
cout << " --workdir <dir> Change working directory to 'dir'" << Qt::endl;
|
||||
cout << " -e <cmd> Command to execute. This option will catch all following arguments, so use it as the last option." << Qt::endl;
|
||||
cout << " -T <title> Set window title to 'title'." << Qt::endl;
|
||||
cout << " --fullscreen Run cool-retro-term in fullscreen." << Qt::endl;
|
||||
cout << " -p|--profile <prof> Run cool-retro-term with the given profile." << Qt::endl;
|
||||
cout << " -h|--help Print this help." << Qt::endl;
|
||||
|
||||
@@ -48,8 +48,6 @@ QtObject {
|
||||
property bool fullscreen: false
|
||||
property bool showMenubar: false
|
||||
|
||||
property string wintitle: "cool-retro-term"
|
||||
|
||||
property bool showTerminalSize: true
|
||||
property real windowScaling: 1.0
|
||||
|
||||
@@ -890,10 +888,6 @@ QtObject {
|
||||
showMenubar = false
|
||||
}
|
||||
|
||||
if (args.indexOf("-T") !== -1) {
|
||||
wintitle = args[args.indexOf("-T") + 1]
|
||||
}
|
||||
|
||||
initializedSettings()
|
||||
}
|
||||
|
||||
|
||||
@@ -67,7 +67,6 @@ ApplicationWindow {
|
||||
sourceComponent: OSXMenu { }
|
||||
}
|
||||
|
||||
property string wintitle: appSettings.wintitle
|
||||
property real normalizedWindowScale: 1024 / ((0.5 * width + 0.5 * height))
|
||||
|
||||
color: "#00000000"
|
||||
|
||||
Reference in New Issue
Block a user