pixmap() works also with containsMultipleImages

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863958
This commit is contained in:
Marco Martin 2008-09-23 15:52:45 +00:00
parent 8eef2c7764
commit 94b4c8cfa7

View File

@ -321,7 +321,7 @@ Svg::~Svg()
QPixmap Svg::pixmap(const QString &elementID)
{
if (elementID.isNull()) {
if (elementID.isNull() || d->multipleImages) {
return d->findInCache(elementID, size());
} else {
return d->findInCache(elementID);