diff options
author | Jani Hautakangas <ext-jani.hautakangas@nokia.com> | 2010-08-06 10:18:24 (GMT) |
---|---|---|
committer | Jani Hautakangas <ext-jani.hautakangas@nokia.com> | 2010-08-06 10:43:05 (GMT) |
commit | 0210bbbd7bf8254be5f7f19f524068cd39fc34c2 (patch) | |
tree | 1f1389af46ace62b9632ee4814c01e602cdeeb09 /src/gui/kernel/qapplication_s60.cpp | |
parent | 339270016bd8805b081f0b4ff550906a6bcfec5b (diff) | |
download | Qt-0210bbbd7bf8254be5f7f19f524068cd39fc34c2.zip Qt-0210bbbd7bf8254be5f7f19f524068cd39fc34c2.tar.gz Qt-0210bbbd7bf8254be5f7f19f524068cd39fc34c2.tar.bz2 |
Use ARGB32 premultiplied backing store format in Symbian^3
raster paint engine for translucent windows.
Task-number: QTBUG-12710
Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui/kernel/qapplication_s60.cpp')
-rw-r--r-- | src/gui/kernel/qapplication_s60.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index 52f0db6..a14b1a7 100644 --- a/src/gui/kernel/qapplication_s60.cpp +++ b/src/gui/kernel/qapplication_s60.cpp @@ -1087,7 +1087,8 @@ void QSymbianControl::Draw(const TRect& controlRect) const break; case QWExtra::ZeroFill: - if (Window().DisplayMode() == EColor16MA) { + if (Window().DisplayMode() == EColor16MA + || Window().DisplayMode() == Q_SYMBIAN_ECOLOR16MAP) { gc.SetBrushStyle(CGraphicsContext::ESolidBrush); gc.SetDrawMode(CGraphicsContext::EDrawModeWriteAlpha); gc.SetBrushColor(TRgb::Color16MA(0)); |