QMacNativeWidget: Fix background rendering
The widget's background is transparent, but Qt is not owning the backing store in this case, so we must make sure it gets properly cleared and flushed. Task-number: QTBUG-19840 Change-Id: I1087ce80aae3620d64a8c180129d79b5b022750b Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
This commit is contained in:
parent
c4c9883d13
commit
5ad594a061
@ -128,6 +128,7 @@ QMacNativeWidget::QMacNativeWidget(NSView *parentView)
|
||||
setAttribute(Qt::WA_SetPalette, false);
|
||||
setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
||||
setAttribute(Qt::WA_TranslucentBackground);
|
||||
setAttribute(Qt::WA_NoSystemBackground, false);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user