Commit f6dcff90 authored by Gleb Popov's avatar Gleb Popov 💬
Browse files

Correctly handle relative paths with line information, like `../foo.txt:123`.

parent 37cac45c
......@@ -57,7 +57,9 @@ public:
if (!QUrl::fromUserInput(pathOrUrl).isLocalFile()) {
url = QUrl::fromUserInput(pathOrUrl, QDir::currentPath(), QUrl::DefaultResolution);
// relative paths are not isLocalFile(), but not valid too, so we don't want them
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