summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmenu.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-06-17 08:38:06 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2010-06-17 13:10:34 (GMT)
commit4cdeac4d4780e163eee3a1916683766f16747f90 (patch)
tree53be9e6897380a8a877af468b111fc6e0df25eb1 /src/gui/widgets/qmenu.h
parent0a852d51c6d74712cda8c7d08da4f5c90d99d5cd (diff)
downloadQt-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