diff --git a/libkwineffects/anidata.cpp b/libkwineffects/anidata.cpp index 86c9f33a17..60c6f82da1 100644 --- a/libkwineffects/anidata.cpp +++ b/libkwineffects/anidata.cpp @@ -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; diff --git a/libkwineffects/anidata_p.h b/libkwineffects/anidata_p.h index a55557ffdf..2959e11b3c 100644 --- a/libkwineffects/anidata_p.h +++ b/libkwineffects/anidata_p.h @@ -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 {