From 665c1da238df09f51c99faa8e5393a9ae73f92c4 Mon Sep 17 00:00:00 2001 From: Gareth Stockwell Date: Mon, 28 Sep 2009 16:45:36 +0100 Subject: Fixed logical error in QSymbianControl::Draw --- src/gui/kernel/qapplication_s60.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index 7ef335b..50d87a9 100644 --- a/src/gui/kernel/qapplication_s60.cpp +++ b/src/gui/kernel/qapplication_s60.cpp @@ -838,13 +838,13 @@ void QSymbianControl::Draw(const TRect& r) const qDebug() << " " << i*10 << " : " << color.Red() << color.Green() << color.Blue() << color.Alpha(); } #endif - + } + else { if (qwidget->d_func()->isOpaque) gc.SetDrawMode(CGraphicsContext::EDrawModeWriteAlpha); - } - else - gc.BitBlt(r.iTl, bitmap, r); + gc.BitBlt(r.iTl, bitmap, r); + } } else { surface->flush(qwidget, QRegion(qt_TRect2QRect(r)), QPoint()); } -- cgit v0.12