summaryrefslogtreecommitdiffstats
path: root/src/svg/qsvgstyle.cpp
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-08-25 12:13:11 +0200
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-08-25 12:34:18 +0200
commit2aeeda9b82440dbcb3564c185003288b83f49683 (patch)
treecc21ff80d2c266c0ea86b373c85f098586edf8a6 /src/svg/qsvgstyle.cpp
parent59d974cfd899832dc88c0183582147162bf721be (diff)
Added missing variable initialization in QSvgStrokeStyle ctor.
The bug this commit fixes was introduced by commit 28ac217b04abaa4d226e43e402c14a88539fca3b. Reviewed-by: Trond
Diffstat (limited to 'src/svg/qsvgstyle.cpp')
-rw-r--r--src/svg/qsvgstyle.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/svg/qsvgstyle.cpp b/src/svg/qsvgstyle.cpp
index 6922ad9e2f..13a0d3030e 100644
--- a/src/svg/qsvgstyle.cpp
+++ b/src/svg/qsvgstyle.cpp
@@ -274,10 +274,12 @@ void QSvgFontStyle::revert(QPainter *p, QSvgExtraStates &states)
QSvgStrokeStyle::QSvgStrokeStyle()
: m_strokeOpacity(1.0)
, m_oldStrokeOpacity(0.0)
- , m_vectorEffect(0)
- , m_oldVectorEffect(0)
, m_strokeDashOffset(0)
, m_oldStrokeDashOffset(0)
+ , m_style(0)
+ , m_gradientResolved(1)
+ , m_vectorEffect(0)
+ , m_oldVectorEffect(0)
, m_strokeSet(0)
, m_strokeDashArraySet(0)
, m_strokeDashOffsetSet(0)