Skip to content
Commit 4fbc5302 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Fix 'Show Target' for non-local URLs

Links are not always local files, e.g. 'remote:/zeroconf' links to 'zeroconf:/'

The current code fails there

Instead of using QFile API that does not work on non-local URLs use QUrl::resolved to resolve relative links

Furthermore, QFile::exists doesn't work for non-local URLs. Instead do a KIO stat to check whether the target exists
parent 9c6c80ed
Pipeline #330906 canceled with stage
in 7 minutes and 22 seconds
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