From 5fad2a943bb4f4f35474fb8bbabd3c40374061d4 Mon Sep 17 00:00:00 2001 From: Alex Ivanov Date: Fri, 6 Jan 2017 06:18:26 +0300 Subject: [PATCH] kde-gtk-config: follow symlinks for cursors --- .../kde-gtk-config/0001-follow-symlinks.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pkgs/desktops/kde-5/plasma/kde-gtk-config/0001-follow-symlinks.patch b/pkgs/desktops/kde-5/plasma/kde-gtk-config/0001-follow-symlinks.patch index 759eda4cc13..d610d19eedd 100644 --- a/pkgs/desktops/kde-5/plasma/kde-gtk-config/0001-follow-symlinks.patch +++ b/pkgs/desktops/kde-5/plasma/kde-gtk-config/0001-follow-symlinks.patch @@ -37,3 +37,16 @@ index 07c7ad7..b04d978 100644 -- 2.6.2 +diff --git a/src/cursorthemesmodel.cpp b/src/cursorthemesmodel.cpp +index 926a666..85b10f8 100644 +--- a/src/cursorthemesmodel.cpp ++++ b/src/cursorthemesmodel.cpp +@@ -47,7 +47,7 @@ QList CursorThemesModel::installedThemesPaths() + + foreach(const QString& dir, dirs) { + QDir userIconsDir(dir); +- QDirIterator it(userIconsDir.path(), QDir::NoDotAndDotDot|QDir::AllDirs|QDir::NoSymLinks); ++ QDirIterator it(userIconsDir.path(), QDir::NoDotAndDotDot|QDir::AllDirs); + while(it.hasNext()) { + QString currentPath = it.next(); + QDir dir(currentPath);