summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2019-05-24 21:22:49 +0300
committerKonstantin Ritt <ritt.ks@gmail.com>2019-09-13 17:35:19 +0300
commit69756405416cc9a643f75cc9e158ed9efc98d7d3 (patch)
treed635e0f18aac541933e445aa7869aae18f8a2d26 /src
parent5891e5d7f5b1134a184fb82926c10866257f1f61 (diff)
Fix compiler warning due to a trivial typo
as `m_transform = m_transform;` doesn't make sense; plus minor clean-up Change-Id: I16225f732ff7d942acdc29d4f947068d35fa79c3 Reviewed-by: Rebecca Worledge <rebecca.worledge@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/bodymovin/bmrepeater.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bodymovin/bmrepeater.cpp b/src/bodymovin/bmrepeater.cpp
index f2b45b1..0df8cd7 100644
--- a/src/bodymovin/bmrepeater.cpp
+++ b/src/bodymovin/bmrepeater.cpp
@@ -30,11 +30,11 @@
#include "bmrepeater_p.h"
BMRepeater::BMRepeater(const BMRepeater &other)
- : BMShape(other)
+ : BMShape(other),
+ m_copies(other.m_copies),
+ m_offset(other.m_offset),
+ m_transform(other.m_transform)
{
- m_copies = other.m_copies;
- m_offset = other.m_offset;
- m_transform = m_transform;
}
BMRepeater::BMRepeater(const QJsonObject &definition, BMBase *parent)