[libkwineffects] Remove broken copy constructor of AniData

This doesn't copy everything, it misses the ID which breaks
everything.

Given it's just a direct copy of members the auto-generated one does a
better job
This commit is contained in:
David Edmundson 2018-07-27 16:34:07 +01:00
parent d143036702
commit 7b65aa9199
2 changed files with 0 additions and 17 deletions

View file

@ -60,22 +60,6 @@ AniData::AniData(AnimationEffect::Attribute a, int meta_, int ms, const FPx2 &to
{
}
AniData::AniData(const AniData &other)
: attribute(other.attribute)
, curve(other.curve)
, customCurve(other.customCurve)
, from(other.from)
, to(other.to)
, time(other.time)
, duration(other.duration)
, meta(other.meta)
, startTime(other.startTime)
, windowType(other.windowType)
, waitAtSource(other.waitAtSource)
, keepAtTarget(other.keepAtTarget)
{
}
static FPx2 fpx2(const QString &s, AnimationEffect::Attribute a)
{
bool ok; float f1, f2;

View file

@ -32,7 +32,6 @@ public:
AniData();
AniData(AnimationEffect::Attribute a, int meta, int ms, const FPx2 &to,
QEasingCurve curve, int delay, const FPx2 &from, bool waitAtSource, bool keepAtTarget = false);
AniData(const AniData &other);
explicit AniData(const QString &str);
inline void addTime(int t) { time += t; }
inline bool isOneDimensional() const {