diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-06-17 08:38:06 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-06-17 13:10:34 (GMT) |
commit | 4cdeac4d4780e163eee3a1916683766f16747f90 (patch) | |
tree | 53be9e6897380a8a877af468b111fc6e0df25eb1 /src/gui/widgets/qmenu.h | |
parent | 0a852d51c6d74712cda8c7d08da4f5c90d99d5cd (diff) | |
download | Qt-4cdeac4d4780e163eee3a1916683766f16747f90.zip Qt-4cdeac4d4780e163eee3a1916683766f16747f90.tar.gz Qt-4cdeac4d4780e163eee3a1916683766f16747f90.tar.bz2 |
Optimized QPixmap::fromImage for raster pixmaps.
If we know that the QImage is ARGB32 or ARGB32_Premultiplied and doesn't
contain any alpha pixels we can treat it as RGB32 when doing the
conversion.
Reviewed-by: Gunnar Sletta
Diffstat (limited to 'src/gui/widgets/qmenu.h')
0 files changed, 0 insertions, 0 deletions