[handler] Enable sharing relative URLs

This commit is contained in:
Nicolas Fella 2019-05-20 22:19:43 +00:00
parent 8bdafd9730
commit 3ec577932d

View file

@ -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"));
}