summary refs log tree commit diff
path: root/pkgs/development/libraries/kde-frameworks-5.12/kservice/kservice-kbuildsycoca-no-canonicalize-path.patch
blob: 7e21ebfe86f225301997caa33be5bdf51f0023d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/kbuildsycoca/vfolder_menu.cpp b/src/kbuildsycoca/vfolder_menu.cpp
index 2eb1275..e39a36f 100644
--- a/src/kbuildsycoca/vfolder_menu.cpp
+++ b/src/kbuildsycoca/vfolder_menu.cpp
@@ -412,7 +412,7 @@ VFolderMenu::absoluteDir(const QString &_dir, const QString &baseDir, bool keepR
     }
 
     if (!relative) {
-        QString resolved = QDir(dir).canonicalPath();
+        QString resolved = QDir::cleanPath(dir);
         if (!resolved.isEmpty()) {
             dir = resolved;
         }