make paint(painter,pos,elementid) work when containsMultipleImages =
true svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878053
This commit is contained in:
parent
60ab332312
commit
1da58c95f4
2
svg.cpp
2
svg.cpp
@ -138,7 +138,7 @@ class SvgPrivate
|
||||
QPixmap findInCache(const QString &elementId, const QSizeF &s = QSizeF())
|
||||
{
|
||||
QSize size;
|
||||
if (elementId.isEmpty() || multipleImages) {
|
||||
if (elementId.isEmpty() || (multipleImages && s.isValid())) {
|
||||
size = s.toSize();
|
||||
} else {
|
||||
size = elementRect(elementId).size().toSize();
|
||||
|
Loading…
Reference in New Issue
Block a user