make this consistent with pixmap() at least, but the multiple images handling still looks broken
svn path=/trunk/KDE/kdelibs/; revision=1177645
This commit is contained in:
parent
6655948ccd
commit
9f7ce4026c
4
svg.cpp
4
svg.cpp
@ -515,8 +515,8 @@ QPixmap Svg::pixmap(const QString &elementID)
|
||||
|
||||
void Svg::paint(QPainter *painter, const QPointF &point, const QString &elementID)
|
||||
{
|
||||
QPixmap pix(elementID.isNull() ? d->findInCache(elementID, size()) :
|
||||
d->findInCache(elementID));
|
||||
QPixmap pix((elementID.isNull() || d->multipleImages) ? d->findInCache(elementID, size()) :
|
||||
d->findInCache(elementID));
|
||||
|
||||
if (pix.isNull()) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user