diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2010-04-06 14:08:20 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2010-04-06 14:19:23 (GMT) |
commit | ce0af99f47c1728a6d8145ea89f41b1c9207104a (patch) | |
tree | 974919a7c185894f6d8c1da6c5ddf120f7c54ee9 /demos/qtdemo/score.cpp | |
parent | 0d4e512c2dd9a13aa19cbd6d28209f2dc00a0cf8 (diff) | |
download | Qt-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