mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Merge pull request #1628 from Nheko-Reborn/profile-arg
Fix profile argument parsing bug
This commit is contained in:
commit
ed6abe989f
1 changed files with 1 additions and 1 deletions
|
@ -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")) {
|
||||
|
|
Loading…
Reference in a new issue