don't break unthemed svgs if themeChanged() is called on them
(can happen if svg is color aware and colors change) svn path=/trunk/KDE/kdelibs/; revision=1205731
This commit is contained in:
parent
8c4c8b877d
commit
f924a645af
2
svg.cpp
2
svg.cpp
@ -607,7 +607,7 @@ void SvgPrivate::themeChanged()
|
|||||||
checkColorHints();
|
checkColorHints();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString currentPath = themePath;
|
QString currentPath = themed ? themePath : path;
|
||||||
themePath.clear();
|
themePath.clear();
|
||||||
eraseRenderer();
|
eraseRenderer();
|
||||||
setImagePath(currentPath);
|
setImagePath(currentPath);
|
||||||
|
Loading…
Reference in New Issue
Block a user