diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2010-11-20 15:27:26 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2010-11-22 12:24:19 (GMT) |
commit | f4b2f4fa4a8b6ffecb2fcdb46b91f12d3820c5ac (patch) | |
tree | 48d774052872d865033db1dcdb65c9777c1b9142 /src/gui/image | |
parent | 538e7b8ddf45936bb274ed3230b591b3459edfa7 (diff) | |
download | Qt-f4b2f4fa4a8b6ffecb2fcdb46b91f12d3820c5ac.zip Qt-f4b2f4fa4a8b6ffecb2fcdb46b91f12d3820c5ac.tar.gz Qt-f4b2f4fa4a8b6ffecb2fcdb46b91f12d3820c5ac.tar.bz2 |
Fix some warnings on Mac
Reviewed-by: Fabien Freling
Diffstat (limited to 'src/gui/image')
-rw-r--r-- | src/gui/image/qnativeimage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/image/qnativeimage.cpp b/src/gui/image/qnativeimage.cpp index 0f7872e..c154740 100644 --- a/src/gui/image/qnativeimage.cpp +++ b/src/gui/image/qnativeimage.cpp @@ -256,6 +256,8 @@ QNativeImage::QNativeImage(int width, int height, QImage::Format format, bool /* case QImage::Format_ARGB4444_Premultiplied: cgflags = kCGImageAlphaPremultipliedFirst; break; + default: + break; } #ifdef kCGBitmapByteOrder32Host //only needed because CGImage.h added symbols in the minor version |