From 4611cc655e3e727dd0ece75ad15b53f2bb5b96d5 Mon Sep 17 00:00:00 2001 From: Jason Barron Date: Tue, 7 Jul 2009 15:21:33 +0200 Subject: 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. --- src/gui/painting/qpaintengine_raster.cpp | 1 + 1 file changed, 1 insertion(+) 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(); -- cgit v0.12