update the viewport after changing the background
Task-number: QTBUG-4359 Change-Id: I218e6a8b3b64e1b518338efb18e8a7eb95ecf2c7 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
This commit is contained in:
parent
3ea974178a
commit
4e38c2aab3
@ -2043,7 +2043,7 @@ void QMdiArea::setBackground(const QBrush &brush)
|
||||
if (d->background != brush) {
|
||||
d->background = brush;
|
||||
d->viewport->setAttribute(Qt::WA_OpaquePaintEvent, brush.isOpaque());
|
||||
update();
|
||||
d->viewport->update();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user