1
0
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:
Filippo Scognamiglio
2026-01-11 23:34:29 +01:00
parent 56144f757d
commit 471ec29f5d
3 changed files with 0 additions and 8 deletions

View File

@@ -66,7 +66,6 @@ int main(int argc, char *argv[])
cout << " --default-settings Run cool-retro-term with the default settings" << Qt::endl; cout << " --default-settings Run cool-retro-term with the default settings" << Qt::endl;
cout << " --workdir <dir> Change working directory to 'dir'" << 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 << " -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 << " --fullscreen Run cool-retro-term in fullscreen." << Qt::endl;
cout << " -p|--profile <prof> Run cool-retro-term with the given profile." << Qt::endl; cout << " -p|--profile <prof> Run cool-retro-term with the given profile." << Qt::endl;
cout << " -h|--help Print this help." << Qt::endl; cout << " -h|--help Print this help." << Qt::endl;

View File

@@ -48,8 +48,6 @@ QtObject {
property bool fullscreen: false property bool fullscreen: false
property bool showMenubar: false property bool showMenubar: false
property string wintitle: "cool-retro-term"
property bool showTerminalSize: true property bool showTerminalSize: true
property real windowScaling: 1.0 property real windowScaling: 1.0
@@ -890,10 +888,6 @@ QtObject {
showMenubar = false showMenubar = false
} }
if (args.indexOf("-T") !== -1) {
wintitle = args[args.indexOf("-T") + 1]
}
initializedSettings() initializedSettings()
} }

View File

@@ -67,7 +67,6 @@ ApplicationWindow {
sourceComponent: OSXMenu { } sourceComponent: OSXMenu { }
} }
property string wintitle: appSettings.wintitle
property real normalizedWindowScale: 1024 / ((0.5 * width + 0.5 * height)) property real normalizedWindowScale: 1024 / ((0.5 * width + 0.5 * height))
color: "#00000000" color: "#00000000"