diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-06-01 10:36:47 +0200 |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-06-01 10:46:31 +0200 |
commit | bcafe4a3dde9986ecfdeea43dc592b6f54134893 (patch) | |
tree | 238c7fd1ba202a8fbf5f2db43cec46c95a92d88f | |
parent | 9789cdb6c3a6070fffb4644ce52cd176f44c3d48 (diff) |
Fixed alpha check for mono images.
Task-number: QTBUG-9072
Reviewed-by: Trond
-rw-r--r-- | src/gui/image/qimage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp index d46f40e4e0..473f93ae5b 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; |