diff --git a/urlhandler/kdeconnect-handler.cpp b/urlhandler/kdeconnect-handler.cpp index a863373b2..0682430ec 100644 --- a/urlhandler/kdeconnect-handler.cpp +++ b/urlhandler/kdeconnect-handler.cpp @@ -79,7 +79,7 @@ int main(int argc, char** argv) return 1; } - urlToShare = QUrl::fromUserInput(parser.positionalArguments().constFirst()); + urlToShare = QUrl::fromUserInput(parser.positionalArguments().constFirst(), QDir::currentPath()); open = parser.isSet(QStringLiteral("open")); }