From 5bd53e947970756faf180e9b32e7fac07bc0767c Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Wed, 29 Nov 2023 20:18:11 -0500 Subject: [PATCH] Fix profile argument parsing bug --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 3cf794f8..c90cbc2e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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")) {