pixmap() works also with containsMultipleImages
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863958
This commit is contained in:
parent
8eef2c7764
commit
94b4c8cfa7
2
svg.cpp
2
svg.cpp
@ -321,7 +321,7 @@ Svg::~Svg()
|
|||||||
|
|
||||||
QPixmap Svg::pixmap(const QString &elementID)
|
QPixmap Svg::pixmap(const QString &elementID)
|
||||||
{
|
{
|
||||||
if (elementID.isNull()) {
|
if (elementID.isNull() || d->multipleImages) {
|
||||||
return d->findInCache(elementID, size());
|
return d->findInCache(elementID, size());
|
||||||
} else {
|
} else {
|
||||||
return d->findInCache(elementID);
|
return d->findInCache(elementID);
|
||||||
|
Loading…
Reference in New Issue
Block a user