mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
14 lines
491 B
Diff
14 lines
491 B
Diff
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;
|
|
}
|