diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2009-06-18 14:32:06 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2009-06-18 14:36:05 (GMT) |
commit | 31ed96ef2c34429d61a5d9d1c1b7fe4fc17c708b (patch) | |
tree | afd1a8201309f7ad75912e21104b477e10d43c78 /src | |
parent | 8675a8915d09d0ca2091c606345a2d99f642949b (diff) | |
download | Qt-31ed96ef2c34429d61a5d9d1c1b7fe4fc17c708b.zip Qt-31ed96ef2c34429d61a5d9d1c1b7fe4fc17c708b.tar.gz Qt-31ed96ef2c34429d61a5d9d1c1b7fe4fc17c708b.tar.bz2 |
Fixed a problem with QSvgRenderer::animationDuration().
May have returned random values for SVGs without animation tags.
Task-number: 256073
Reviewed-by: Kim
Diffstat (limited to 'src')
-rw-r--r-- | src/svg/qsvghandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp index 9aa243b..d796938 100644 --- a/src/svg/qsvghandler.cpp +++ b/src/svg/qsvghandler.cpp @@ -3375,6 +3375,7 @@ void QSvgHandler::init() { m_doc = 0; m_style = 0; + m_animEnd = 0; m_defaultCoords = LT_PX; m_defaultPen = QPen(Qt::black, 1, Qt::NoPen, Qt::FlatCap, Qt::SvgMiterJoin); m_defaultPen.setMiterLimit(4); |