--- a/src/gui/painting/qbrush.cpp Wed Apr 21 12:15:23 2010 +0300
+++ b/src/gui/painting/qbrush.cpp Wed Apr 21 20:15:53 2010 +0300
@@ -160,8 +160,7 @@
qt_brushPatternImageCache()->cleanup();
}
-Q_GUI_EXPORT
-QImage qt_imageForBrush(int brushStyle, bool invert)
+Q_GUI_EXPORT QImage qt_imageForBrush(int brushStyle, bool invert)
{
return qt_brushPatternImageCache()->getImage(brushStyle, invert);
}
@@ -989,7 +988,8 @@
"LinearGradientPattern",
"RadialGradientPattern",
"ConicalGradientPattern",
- "TexturePattern"
+ 0, 0, 0, 0, 0, 0,
+ "TexturePattern" // 24
};
dbg.nospace() << "QBrush(" << b.color() << ',' << BRUSH_STYLES[b.style()] << ')';