0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/libqtxdg/src-xdgiconloader-xdgiconloader.cpp.patch

12 lines
720 B
Diff

--- a/src/xdgiconloader/xdgiconloader.cpp
+++ b/src/xdgiconloader/xdgiconloader.cpp
@@ -564,7 +564,7 @@
auto unthemedInfo = unthemedFallback(name, QIcon::themeSearchPaths());
if (unthemedInfo.entries.empty()) {
/* Freedesktop standard says to look in /usr/share/pixmaps last */
- const QStringList pixmapPath = (QStringList() << QString::fromLatin1("/usr/share/pixmaps"));
+ const QStringList pixmapPath = (QStringList() << QString::fromLatin1("@TERMUX_PREFIX@/share/pixmaps"));
auto pixmapInfo = unthemedFallback(name, pixmapPath);
if (pixmapInfo.entries.empty()) {
return QThemeIconInfo();