Make QRubberBand transparent on Mac OS X
Restore Q_WS_MAC code path. Task-number: QTBUG-35987 Change-Id: I1ad50dd93e9c7116963e09d94ad114bcb6a1c31f Reviewed-by: Liang Qi <liang.qi@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
parent
65a676372c
commit
6112f8938c
@ -86,7 +86,7 @@ void QRubberBand::initStyleOption(QStyleOptionRubberBand *option) const
|
||||
return;
|
||||
option->initFrom(this);
|
||||
option->shape = d_func()->shape;
|
||||
#ifndef Q_WS_MAC
|
||||
#ifndef Q_OS_MAC
|
||||
option->opaque = true;
|
||||
#else
|
||||
option->opaque = windowFlags() & RUBBERBAND_WINDOW_TYPE;
|
||||
|
Loading…
Reference in New Issue
Block a user