diff --git a/cli/kdeconnect-cli.cpp b/cli/kdeconnect-cli.cpp index 695a85df9..8c0f0c552 100644 --- a/cli/kdeconnect-cli.cpp +++ b/cli/kdeconnect-cli.cpp @@ -148,7 +148,7 @@ int main(int argc, char** argv) if (parser.isSet(QStringLiteral("share"))) { QList urls; - QUrl url = QUrl::fromUserInput(parser.value(QStringLiteral("share"))); + QUrl url = QUrl::fromUserInput(parser.value(QStringLiteral("share")), QDir::currentPath()); urls.append(url); //In case there are more arguments, check if they are files and then send them