diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-17 12:42:48 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-17 12:43:41 (GMT) |
commit | 6687a82476a96922f23d4fd3535d4e7354d9cdab (patch) | |
tree | 13bfc8e9f277dcb16f034bbf71b234b2f3547d04 /src/svg | |
parent | 1ca6a2f3174fdfbbe080af920ab75558a1a9247e (diff) | |
download | Qt-6687a82476a96922f23d4fd3535d4e7354d9cdab.zip Qt-6687a82476a96922f23d4fd3535d4e7354d9cdab.tar.gz Qt-6687a82476a96922f23d4fd3535d4e7354d9cdab.tar.bz2 |
More coverity warnings removed
Diffstat (limited to 'src/svg')
-rw-r--r-- | src/svg/qsvgstyle.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/svg/qsvgstyle.cpp b/src/svg/qsvgstyle.cpp index 820f716..1ecf870 100644 --- a/src/svg/qsvgstyle.cpp +++ b/src/svg/qsvgstyle.cpp @@ -90,6 +90,7 @@ QSvgFillStyle::QSvgFillStyle(const QBrush &brush) , m_fillRule(Qt::WindingFill) , m_fillOpacitySet(false) , m_fillOpacity(1.0) + , m_oldOpacity(0) , m_gradientResolved(true) , m_fillSet(true) { @@ -101,6 +102,7 @@ QSvgFillStyle::QSvgFillStyle(QSvgStyleProperty *style) , m_fillRule(Qt::WindingFill) , m_fillOpacitySet(false) , m_fillOpacity(1.0) + , m_oldOpacity(0) , m_gradientResolved(true) , m_fillSet(style != 0) { @@ -858,7 +860,7 @@ QSvgStyleProperty::Type QSvgAnimateColor::type() const } QSvgOpacityStyle::QSvgOpacityStyle(qreal opacity) - : m_opacity(opacity) + : m_opacity(opacity), m_oldOpacity(0) { } |