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:
Gabriel de Dietrich 2013-09-25 18:21:49 +02:00 committed by The Qt Project
parent 79fc0ff67a
commit 79561dd899

View File

@ -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);
}
/*!