Fix profile argument parsing bug

This commit is contained in:
Loren Burkholder 2023-11-29 20:18:11 -05:00
parent 242f61c8a3
commit 5bd53e9479
No known key found for this signature in database
GPG key ID: AB62CB312CEC2BBC

View file

@ -185,7 +185,7 @@ main(int argc, char *argv[])
if (arg.startsWith(QLatin1String("--profile="))) {
arg.remove(QStringLiteral("--profile="));
userdata = arg;
} else if (arg.startsWith(QLatin1String("--p="))) {
} else if (arg.startsWith(QLatin1String("-p="))) {
arg.remove(QStringLiteral("-p="));
userdata = arg;
} else if (arg == QLatin1String("--profile") || arg == QLatin1String("-p")) {