summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-02-04 01:02:38 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-02-04 01:02:38 +0100
commit7874d61c337d7d24aec918ccdd6876ceaa20f989 (patch)
tree733ae954e655bf6f61526f50d8b6fcf7682678ca /src
parentMerge pull request #445 from Jedi18/avatar_username_feature (diff)
downloadnheko-7874d61c337d7d24aec918ccdd6876ceaa20f989.tar.xz
Fix scheme handler not passing arguments
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp

index a890a6fd..07962b9b 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -128,7 +128,7 @@ main(int argc, char *argv[]) // parsed before the SingleApplication userdata is set. QString userdata{""}; QString matrixUri; - for (int i = 0; i < argc; ++i) { + for (int i = 1; i < argc; ++i) { QString arg{argv[i]}; if (arg.startsWith("--profile=")) { arg.remove("--profile=");