if the second QRect paramenter of paintFrame is empty, take the whole pixmap rect: this is what was supposed to happen in the first place
svn path=/trunk/KDE/kdelibs/; revision=1216114
This commit is contained in:
parent
30b570357f
commit
ef683f5eac
@ -519,7 +519,7 @@ void FrameSvg::paintFrame(QPainter *painter, const QRectF &target, const QRectF
|
||||
}
|
||||
}
|
||||
|
||||
painter->drawPixmap(target, frame->cachedBackground, source.isValid() ? source : target);
|
||||
painter->drawPixmap(target, frame->cachedBackground, source.isValid() ? source : frame->cachedBackground.rect());
|
||||
}
|
||||
|
||||
void FrameSvg::paintFrame(QPainter *painter, const QPointF &pos)
|
||||
|
Loading…
Reference in New Issue
Block a user