diff options
author | Jason Barron <jbarron@trolltech.com> | 2009-07-07 13:21:33 (GMT) |
---|---|---|
committer | Jason Barron <jbarron@trolltech.com> | 2009-07-07 13:21:33 (GMT) |
commit | 4611cc655e3e727dd0ece75ad15b53f2bb5b96d5 (patch) | |
tree | 56a98effe7dae3d0a6a5984a9ff96cbeac13c65a /src/gui/painting/qpaintengine_raster.cpp | |
parent | 62940d53edc0c9388bd3b24fb2cd2d2ae94ddf92 (diff) | |
download | Qt-4611cc655e3e727dd0ece75ad15b53f2bb5b96d5.zip Qt-4611cc655e3e727dd0ece75ad15b53f2bb5b96d5.tar.gz Qt-4611cc655e3e727dd0ece75ad15b53f2bb5b96d5.tar.bz2 |
Fix crash in QClipData::initialize.
This line was lost during the merge of Qt 4.6. The rest of this file
was manually verified to be sure nothing else was missed.
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
-rw-r--r-- | src/gui/painting/qpaintengine_raster.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp index 257edf8..5998ed5 100644 --- a/src/gui/painting/qpaintengine_raster.cpp +++ b/src/gui/painting/qpaintengine_raster.cpp @@ -4401,6 +4401,7 @@ void QClipData::initialize() int y = 0; int firstInBand = 0; + count = 0; while (firstInBand < numRects) { const int currMinY = rects.at(firstInBand).y(); const int currMaxY = currMinY + rects.at(firstInBand).height(); |