summary refs log blame commit diff
path: root/pkgs/development/libraries/kde-frameworks/kservice/no-canonicalize-path.patch
blob: cf98ffb9067faefb5a584d8c5042ca1330113665 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                   
Index: kservice-5.21.0/src/sycoca/vfolder_menu.cpp
===================================================================
--- kservice-5.21.0.orig/src/sycoca/vfolder_menu.cpp
+++ kservice-5.21.0/src/sycoca/vfolder_menu.cpp
@@ -415,7 +415,7 @@ VFolderMenu::absoluteDir(const QString &
     }
 
     if (!relative) {
-        QString resolved = QDir(dir).canonicalPath();
+      QString resolved = QDir::cleanPath(dir);
         if (!resolved.isEmpty()) {
             dir = resolved;
         }