From 94b4c8cfa77c50e28cc7584fa0ce4c1fedeac215 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 23 Sep 2008 15:52:45 +0000 Subject: [PATCH] pixmap() works also with containsMultipleImages svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=863958 --- svg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svg.cpp b/svg.cpp index 106f7343f..588747e2c 100644 --- a/svg.cpp +++ b/svg.cpp @@ -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);