Commit 78856330 authored by Nicolas Fella's avatar Nicolas Fella

Assume local file in handler url

parent 79b42ff8
Pipeline #4330 passed with stage
in 16 minutes and 34 seconds
......@@ -80,7 +80,7 @@ int main(int argc, char** argv)
return 1;
}
urlToShare = QUrl::fromUserInput(parser.positionalArguments().constFirst(), QDir::currentPath());
urlToShare = QUrl::fromUserInput(parser.positionalArguments().constFirst(), QDir::currentPath(), QUrl::AssumeLocalFile);
open = parser.isSet(QStringLiteral("open"));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment