diff -r 3b1da2848fc7 -r d3bac044e0f0 src/gui/kernel/qwidget.cpp --- a/src/gui/kernel/qwidget.cpp Fri Feb 19 23:40:16 2010 +0200 +++ b/src/gui/kernel/qwidget.cpp Fri Mar 12 15:46:37 2010 +0200 @@ -2026,6 +2026,14 @@ } #endif +#ifdef Q_WS_S60 + if (q->windowType() == Qt::Dialog && q->testAttribute(Qt::WA_TranslucentBackground) + && S60->avkonComponentsSupportTransparency) { + setOpaque(false); + return; + } +#endif + if (q->testAttribute(Qt::WA_OpaquePaintEvent) || q->testAttribute(Qt::WA_PaintOnScreen)) { setOpaque(true); return; @@ -3344,7 +3352,7 @@ \note Setting the size to \c{QSize(0, 0)} will cause the widget to not appear on screen. This also applies to windows. - \sa pos, geometry, minimumSize, maximumSize, resizeEvent() + \sa pos, geometry, minimumSize, maximumSize, resizeEvent(), adjustSize() */ /*!