Commit 37cac45c authored by Gleb Popov's avatar Gleb Popov 💬
Browse files

Fix a bug in `kioclient exec foo.txt:123` handling.

parent e1f1a711
......@@ -55,7 +55,7 @@ public:
* if the path starts with http:// or any other scheme, except file://
* we also don't want to do anything with URL
if (!QUrl(pathOrUrl).isLocalFile()) {
if (!QUrl::fromUserInput(pathOrUrl).isLocalFile()) {
url = QUrl::fromUserInput(pathOrUrl, QDir::currentPath(), QUrl::DefaultResolution);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment