From 5bd53e947970756faf180e9b32e7fac07bc0767c Mon Sep 17 00:00:00 2001
From: Loren Burkholder <computersemiexpert@outlook.com>
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 3cf794f85..c90cbc2e3 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")) {
-- 
GitLab