mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
Fix profile argument parsing bug
This commit is contained in:
parent
242f61c8a3
commit
5bd53e9479
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ main(int argc, char *argv[])
|
||||||
if (arg.startsWith(QLatin1String("--profile="))) {
|
if (arg.startsWith(QLatin1String("--profile="))) {
|
||||||
arg.remove(QStringLiteral("--profile="));
|
arg.remove(QStringLiteral("--profile="));
|
||||||
userdata = arg;
|
userdata = arg;
|
||||||
} else if (arg.startsWith(QLatin1String("--p="))) {
|
} else if (arg.startsWith(QLatin1String("-p="))) {
|
||||||
arg.remove(QStringLiteral("-p="));
|
arg.remove(QStringLiteral("-p="));
|
||||||
userdata = arg;
|
userdata = arg;
|
||||||
} else if (arg == QLatin1String("--profile") || arg == QLatin1String("-p")) {
|
} else if (arg == QLatin1String("--profile") || arg == QLatin1String("-p")) {
|
||||||
|
|
Loading…
Reference in a new issue