QWidget: Update systemClip restore
Change in QWidget::render method to update QPaintEnginePrivate’s systemClip order so it won’t be updated in method setSystemTransform. Task-number: QTBUG-44067 Change-Id: I9fe13c019682c99d035649b71e63b107affb3b91 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
This commit is contained in:
parent
e68d06714f
commit
978ee4e60e
@ -5153,9 +5153,9 @@ void QWidget::render(QPainter *painter, const QPoint &targetOffset,
|
||||
d->render(target, targetOffset, toBePainted, renderFlags);
|
||||
|
||||
// Restore system clip, viewport and transform.
|
||||
enginePriv->systemClip = oldSystemClip;
|
||||
enginePriv->setSystemViewport(oldSystemViewport);
|
||||
enginePriv->setSystemTransform(oldTransform);
|
||||
enginePriv->systemClip = oldSystemClip;
|
||||
|
||||
// Restore shared painter.
|
||||
d->setSharedPainter(oldPainter);
|
||||
|
Loading…
Reference in New Issue
Block a user