2016-04-21 16:01:22 +00:00
|
|
|
From 33b25c2e3c7a002c7f726cd79fc4bab22b1299be Mon Sep 17 00:00:00 2001
|
|
|
|
From: Thomas Tuegel <ttuegel@gmail.com>
|
|
|
|
Date: Tue, 27 Oct 2015 18:07:54 -0500
|
|
|
|
Subject: [PATCH] follow symlinks
|
|
|
|
|
|
|
|
---
|
|
|
|
src/appearancegtk2.cpp | 2 +-
|
|
|
|
src/iconthemesmodel.cpp | 2 +-
|
|
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
2018-05-13 01:23:09 +00:00
|
|
|
Index: kde-gtk-config-5.12.4/src/appearancegtk2.cpp
|
|
|
|
===================================================================
|
|
|
|
--- kde-gtk-config-5.12.4.orig/src/appearancegtk2.cpp
|
|
|
|
+++ kde-gtk-config-5.12.4/src/appearancegtk2.cpp
|
|
|
|
@@ -69,7 +69,7 @@ QString AppearanceGTK2::themesGtkrcFile(
|
2016-04-21 16:01:22 +00:00
|
|
|
QStringList themes=installedThemes();
|
|
|
|
themes=themes.filter(QRegExp("/"+themeName+"/?$"));
|
|
|
|
if(themes.size()==1) {
|
|
|
|
- QDirIterator it(themes.first(), QDirIterator::Subdirectories);
|
|
|
|
+ QDirIterator it(themes.first(), QDirIterator::Subdirectories | QDirIterator::FollowSymlinks);
|
|
|
|
while(it.hasNext()) {
|
|
|
|
it.next();
|
|
|
|
if(it.fileName()=="gtkrc") {
|
2018-05-13 01:23:09 +00:00
|
|
|
Index: kde-gtk-config-5.12.4/src/iconthemesmodel.cpp
|
|
|
|
===================================================================
|
|
|
|
--- kde-gtk-config-5.12.4.orig/src/iconthemesmodel.cpp
|
|
|
|
+++ kde-gtk-config-5.12.4/src/iconthemesmodel.cpp
|
|
|
|
@@ -47,7 +47,7 @@ QList<QDir> IconThemesModel::installedTh
|
|
|
|
|
2016-04-21 16:01:22 +00:00
|
|
|
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);
|
2018-05-13 01:23:09 +00:00
|
|
|
Index: kde-gtk-config-5.12.4/src/cursorthemesmodel.cpp
|
|
|
|
===================================================================
|
|
|
|
--- kde-gtk-config-5.12.4.orig/src/cursorthemesmodel.cpp
|
|
|
|
+++ kde-gtk-config-5.12.4/src/cursorthemesmodel.cpp
|
|
|
|
@@ -47,7 +47,7 @@ QList<QDir> CursorThemesModel::installed
|
2017-01-06 03:18:26 +00:00
|
|
|
|
|
|
|
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);
|