QMacNativeWidget: Background should be transparent
Cocoa will draw it for us. Change-Id: I73c124749658ae76c97afe95b81b78c7ff15c378 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
This commit is contained in:
parent
79fc0ff67a
commit
79561dd899
@ -127,6 +127,7 @@ QMacNativeWidget::QMacNativeWidget(NSView *parentView)
|
||||
setPalette(QPalette(Qt::transparent));
|
||||
setAttribute(Qt::WA_SetPalette, false);
|
||||
setAttribute(Qt::WA_LayoutUsesWidgetRect);
|
||||
setAttribute(Qt::WA_TranslucentBackground);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user