┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/contextmenu/contextmenusettingspage.cpp
diff options
context:
space:
mode:
authorNicolas Fella <[email protected]>2022-07-10 15:42:13 +0200
committerNicolas Fella <[email protected]>2023-02-14 14:54:29 +0100
commit4fbc5302e7a28dcc5e615a0e1234bf52f120ec7e (patch)
tree319191ffe5b5aa3cdfc083168eed049c097b4bd7 /src/settings/contextmenu/contextmenusettingspage.cpp
parent9c6c80edc9328fe602b4df2204408cdaa721371a (diff)
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
Diffstat (limited to 'src/settings/contextmenu/contextmenusettingspage.cpp')
0 files changed, 0 insertions, 0 deletions