summaryrefslogtreecommitdiff
path: root/LICENSE.GPLv3
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@theqtcompany.com>2016-05-20 13:57:59 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2016-05-31 11:14:44 +0000
commit415572bb872af5d30943ab396d1f89de918ca54b (patch)
tree3d3e4244c9f5f4fb54484400baf6105d4f8b47a3 /LICENSE.GPLv3
parent600ae02bce34b5cd56c1ddc99553bf661ae96b1a (diff)
downloadqtsvg-415572bb872af5d30943ab396d1f89de918ca54b.tar.gz
QSvgAnimate{Color,Transform}: initialize all members.
Coverity (CIDs 22640, 22316) complained that some members weren't initialized. Although setters are provided for these members, we have no guarantee that they're called, so initialize to sensible values. Chose indefinite repeat (repeat count -1) rather than single-shot. In the process, discovered each class's m_to was used only in the constructor (my initial change removed even this use, leading to a compiler warning, as error, on OSX); so removed from both classes. Change-Id: Ibb88a6190f2d740f57c67c1d5ee8a7b03129c510 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'LICENSE.GPLv3')
0 files changed, 0 insertions, 0 deletions