summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAntti Kaijanmäki <antti.kaijanmaki@canonical.com>2013-08-19 17:53:20 +0300
committerShawn Rutledge <shawn.rutledge@digia.com>2014-10-29 09:12:38 +0100
commitf6f797a6c3b794d14c312855bacc8b5b89ea6127 (patch)
treed4d097340ed884fb22e020864a3c27dbe6e00f54 /src
parent0867f0ae33ee2334381d105e27aadf51d6c6e162 (diff)
QGenericUnixTheme::xdgIconThemePaths: add /usr/share/pixmaps
Change-Id: Iebc21da5c0e5a0fccfb3a7ab2ad1d0ac0771fb43 Task-number: QTBUG-33123 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src')
-rw-r--r--src/platformsupport/themes/genericunix/qgenericunixthemes.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp b/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
index f0a53034c8..a28fbd62f4 100644
--- a/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
+++ b/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
@@ -135,6 +135,11 @@ QStringList QGenericUnixTheme::xdgIconThemePaths()
if (xdgIconsDir.isDir())
paths.append(xdgIconsDir.absoluteFilePath());
}
+
+ const QFileInfo pixmapsIconsDir(QStringLiteral("/usr/share/pixmaps"));
+ if (pixmapsIconsDir.isDir())
+ paths.append(pixmapsIconsDir.absoluteFilePath());
+
return paths;
}