diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-10-19 10:17:34 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-10-19 10:31:42 (GMT) |
commit | 8182dc12b88727c647f9bac4d9a19914e3cd8307 (patch) | |
tree | f78e8c4d0bb916eff6d91ee742ba2e596bfa656e /src/gui/kernel/qgesture.cpp | |
parent | 62b884a0ff3d9285b2ea4e1513dfe9e49f7edc5b (diff) | |
download | Qt-8182dc12b88727c647f9bac4d9a19914e3cd8307.zip Qt-8182dc12b88727c647f9bac4d9a19914e3cd8307.tar.gz Qt-8182dc12b88727c647f9bac4d9a19914e3cd8307.tar.bz2 |
Fixed slow QPixmap::fill() when the pixmap is sharing data.
If the pixmap is sharing data with other pixmaps, it must be detached
before it is filled. Instead of detaching by making a copy, create a
new uninitialized data object since all pixels are overwritten by
fill() anyway.
Task-number: QTBUG-3228
Reviewed-by: Trond
Diffstat (limited to 'src/gui/kernel/qgesture.cpp')
0 files changed, 0 insertions, 0 deletions