diff --git a/urlhandler/kdeconnect-handler.cpp b/urlhandler/kdeconnect-handler.cpp index 86d014608..433be392b 100644 --- a/urlhandler/kdeconnect-handler.cpp +++ b/urlhandler/kdeconnect-handler.cpp @@ -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")); }