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:
parent
41ab1a27c1
commit
e9386fe8dc
@ -295,7 +295,7 @@ QString Theme::imagePath(const QString& name) const
|
|||||||
|
|
||||||
if (path.isEmpty()) {
|
if (path.isEmpty()) {
|
||||||
// try an uncompressed svg file in the default theme
|
// try an uncompressed svg file in the default theme
|
||||||
path = d->findInTheme(name + ".svg", d->themeName);
|
path = d->findInTheme(name + ".svg", ThemePrivate::defaultTheme);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user