From: Manuel Nickschas Date: Fri, 21 Nov 2008 17:03:36 +0000 (+0100) Subject: Fix iconloader to find icons where we actually install them it -DQUASSEL_ICONS=Extern... X-Git-Tag: 0.4.0~409 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=9cad7696cf0ef2f58c231c7b1eaaae0c16d0273d Fix iconloader to find icons where we actually install them it -DQUASSEL_ICONS=External is chosen We install app icons in $PREFIX/share/icons/hicolor, so IconLoader should look there rather than in $PREFIX/share/apps/quassel/icons/hicolor. --- diff --git a/src/uisupport/iconloader.cpp b/src/uisupport/iconloader.cpp index 12cc59e6..b37c4623 100644 --- a/src/uisupport/iconloader.cpp +++ b/src/uisupport/iconloader.cpp @@ -79,7 +79,7 @@ void IconLoader::setTheme(const QString &theme) { // Own icons in $data/apps/quassel/icons/hicolor // Also, plain icon dirs $data/apps/quassel/pics foreach(QString dir, dataDirNames) { - path = QString("%1/apps/quassel/icons/hicolor").arg(dir); + path = QString("%1/icons/hicolor").arg(dir); if(QFile::exists(path)) _themedIconDirNames.append(path); path = QString("%1/apps/quassel/pics").arg(dir);