Search
j0ke.net Open Build Service
>
Projects
>
KDE
:
Qt
:
STABLE
>
libQtWebKit-devel
> bnc610578.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File bnc610578.diff of Package libQtWebKit-devel
commit bcafe4a3dde9986ecfdeea43dc592b6f54134893 Author: Kim Motoyoshi Kalland <kim.kalland@nokia.com> Date: Tue Jun 1 10:36:47 2010 +0200 Fixed alpha check for mono images. Task-number: QTBUG-9072 Reviewed-by: Trond diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp index d46f40e..473f93a 100644 --- a/src/gui/image/qimage.cpp +++ b/src/gui/image/qimage.cpp @@ -272,6 +272,8 @@ bool QImageData::checkForAlphaPixels() const switch (format) { + case QImage::Format_Mono: + case QImage::Format_MonoLSB: case QImage::Format_Indexed8: has_alpha_pixels = has_alpha_clut; break;