diff options
author | David Faure <faure@kde.org> | 2010-03-31 09:13:38 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-03-31 09:13:38 (GMT) |
commit | 27a110eb7238b8b8d72db968d813855a9c2afb08 (patch) | |
tree | a814332b2f45fd44b60b18570844acf984d3cdcc /src/gui/painting/qbrush.cpp | |
parent | 287a8d25b0e13602d02abc301e64060f46fff0e9 (diff) | |
download | Qt-27a110eb7238b8b8d72db968d813855a9c2afb08.zip Qt-27a110eb7238b8b8d72db968d813855a9c2afb08.tar.gz Qt-27a110eb7238b8b8d72db968d813855a9c2afb08.tar.bz2 |
Fix crash when using qDebug() on a QBrush with Qt::TexturePattern style.
Merge-request: 541
Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
Diffstat (limited to 'src/gui/painting/qbrush.cpp')
-rw-r--r-- | src/gui/painting/qbrush.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/painting/qbrush.cpp b/src/gui/painting/qbrush.cpp index 1a83b1d..fcfc44d 100644 --- a/src/gui/painting/qbrush.cpp +++ b/src/gui/painting/qbrush.cpp @@ -989,7 +989,8 @@ QDebug operator<<(QDebug dbg, const QBrush &b) "LinearGradientPattern", "RadialGradientPattern", "ConicalGradientPattern", - "TexturePattern" + 0, 0, 0, 0, 0, 0, + "TexturePattern" // 24 }; dbg.nospace() << "QBrush(" << b.color() << ',' << BRUSH_STYLES[b.style()] << ')'; |