Assume local file in handler url
This commit is contained in:
parent
79b42ff80c
commit
788563302f
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue