]> cloud.milkyroute.net Git - dolphin.git/commit
DolphinQuery: Use prettier URL particularly for local paths
authorKai Uwe Broulik <kde@privat.broulik.de>
Thu, 5 Jun 2025 19:07:57 +0000 (21:07 +0200)
committerKai Uwe Broulik <kde@privat.broulik.de>
Thu, 5 Jun 2025 19:13:55 +0000 (21:13 +0200)
commitb67c5478eaa2808028ec511086f01f34230a9277
tree0739001bd6cc98180c81268b35f79b86feaa8ad3
parenta35af3a0d2022a23c5a1cc30d693141a13673b8f
DolphinQuery: Use prettier URL particularly for local paths

Use toLocalFile() to avoid the 'file://' prefix and use KShell::tildeCollapse
that collapses the home path into ~ as is done in many other places.

Also strip trailing slash for the other URLs.
src/search/dolphinquery.cpp