1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/desktops/kde-5/frameworks/kservice/no-canonicalize-path.patch
Thomas Tuegel 3eb9b19d3b kde5.frameworks: remove version from directory name
Now that we keep only one version of Frameworks in Nixpkgs, it is not
necessary to version the directory which stores the Nix expressions.
2016-07-13 13:54:58 -05:00

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;
}