diff --git a/animations/abstractanimation.cpp b/animations/abstractanimation.cpp index d8db6ab10..89bc8f265 100644 --- a/animations/abstractanimation.cpp +++ b/animations/abstractanimation.cpp @@ -81,7 +81,7 @@ bool AbstractAnimation::forwards() const void AbstractAnimation::setDirection(const qint8 &direction) { - d->animDirection = direction; + d->animDirection = static_cast(direction); } qint8 AbstractAnimation::direction() const