diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-09-28 15:45:36 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-09-28 15:45:36 (GMT) |
commit | 665c1da238df09f51c99faa8e5393a9ae73f92c4 (patch) | |
tree | 8f7cefcaffe25aafb4800e1f792f309193e93102 /src/gui | |
parent | d2bceb693aa26937f3def5e1b32fc4411d1b646a (diff) | |
download | Qt-665c1da238df09f51c99faa8e5393a9ae73f92c4.zip Qt-665c1da238df09f51c99faa8e5393a9ae73f92c4.tar.gz Qt-665c1da238df09f51c99faa8e5393a9ae73f92c4.tar.bz2 |
Fixed logical error in QSymbianControl::Draw
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qapplication_s60.cpp | 8 |
1 files 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()); } |