summaryrefslogtreecommitdiff
diff options
authorNicolas Fella <nicolas.fella@gmx.de>2020-11-22 01:35:41 +0100
committerYuri Chornoivan <yurchor@ukr.net>2021-04-16 06:41:56 +0000
commitc4fc680bdbf0496af249535d33991630897bd6bf (patch)
tree34bdfd68d3c0efa4debe4ea3820939ffd2c2f1b4
parent51feb1aa32354bad728cb84f7031adb0228f2f38 (diff)
Port away from KDE::iconwork/icon
I will be deprecated soon
-rw-r--r--krusader/icon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/krusader/icon.cpp b/krusader/icon.cpp
index cb025d8f6..d479c0d79 100644
--- a/krusader/icon.cpp
+++ b/krusader/icon.cpp
@@ -122,7 +122,7 @@ static inline IconSearchResult searchIcon(const QString& iconName, QStringList t
return IconSearchResult(QIcon::fromTheme(iconName), QString());
} else if (KIconLoader::global()->hasIcon(iconName)) {
// KF icon loader does a wider search and helps with mime icons
- return IconSearchResult(KDE::icon(iconName), QString());
+ return IconSearchResult(QIcon::fromTheme(iconName), QString());
} else {
// search the icon in fallback themes
auto currentTheme = QIcon::themeName();