Skip to content
Snippets Groups Projects
Commit 7874d61c authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix scheme handler not passing arguments

parent e0207ff3
No related branches found
No related tags found
No related merge requests found
Pipeline #577 failed
......@@ -2,7 +2,7 @@
Name=nheko
Version=1.0
Comment=Desktop client for Matrix
Exec=nheko
Exec=nheko %u
Icon=nheko
Type=Application
Categories=Network;InstantMessaging;Qt;
......
......@@ -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=");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment