summaryrefslogtreecommitdiffstats
path: root/demos/qtdemo/score.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2010-04-06 14:08:20 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2010-04-06 14:19:23 (GMT)
commitce0af99f47c1728a6d8145ea89f41b1c9207104a (patch)
tree974919a7c185894f6d8c1da6c5ddf120f7c54ee9 /demos/qtdemo/score.cpp
parent0d4e512c2dd9a13aa19cbd6d28209f2dc00a0cf8 (diff)
downloadQt-ce0af99f47c1728a6d8145ea89f41b1c9207104a.zip
Qt-ce0af99f47c1728a6d8145ea89f41b1c9207104a.tar.gz
Qt-ce0af99f47c1728a6d8145ea89f41b1c9207104a.tar.bz2
Prevented unnecessary copy in QImage::setAlphaChannel().
If the formats don't match the detch is unnecessary as operator= will anyways destroy the detached QImageData and substitute it with the newly created QImageData from convertToFormat. Task-number: QTBUG-9640 Reviewed-by: Trond
Diffstat (limited to 'demos/qtdemo/score.cpp')
0 files changed, 0 insertions, 0 deletions