Skip to content
Snippets Groups Projects
Unverified Commit 5bd53e94 authored by Loren Burkholder's avatar Loren Burkholder
Browse files

Fix profile argument parsing bug

parent 242f61c8
No related branches found
No related tags found
No related merge requests found
Pipeline #5313 passed
......@@ -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")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment