fallback to default theme also when a plaint svg is used

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=838356
This commit is contained in:
Alessandro Diaferia 2008-07-27 15:50:00 +00:00
parent 41ab1a27c1
commit e9386fe8dc

View File

@ -295,7 +295,7 @@ QString Theme::imagePath(const QString& name) const
if (path.isEmpty()) {
// try an uncompressed svg file in the default theme
path = d->findInTheme(name + ".svg", d->themeName);
path = d->findInTheme(name + ".svg", ThemePrivate::defaultTheme);
}
}