Fixed fallback element breakage introduced by 1182546

svn path=/trunk/KDE/kdelibs/; revision=1183402
This commit is contained in:
Ivan Čukić 2010-10-07 11:09:06 +00:00
parent d1032bc8f5
commit 14e2cdd885

View File

@ -666,7 +666,7 @@ QString Theme::imagePath(const QString &name) const
} }
// try a compressed svg file in the fallback theme // try a compressed svg file in the fallback theme
path = d->findInTheme(svgzName % QLatin1Char('z'), d->fallbackThemes[i]); path = d->findInTheme(svgName % QLatin1Char('z'), d->fallbackThemes[i]);
if (path.isEmpty()) { if (path.isEmpty()) {
// try an uncompressed svg file in the fallback theme // try an uncompressed svg file in the fallback theme