diff --git a/effects/slidingpopups/slidingpopups.cpp b/effects/slidingpopups/slidingpopups.cpp --- a/effects/slidingpopups/slidingpopups.cpp +++ b/effects/slidingpopups/slidingpopups.cpp @@ -464,7 +464,7 @@ animation.kind = AnimationKind::In; animation.timeLine.setDirection(TimeLine::Forward); animation.timeLine.setDuration((*dataIt).slideInDuration); - animation.timeLine.setEasingCurve(QEasingCurve::InOutSine); + animation.timeLine.setEasingCurve(QEasingCurve::InQuad); // If the opposite animation (Out) was active and it had shorter duration, // at this point, the timeline can end up in the "done" state. Thus, we have @@ -503,7 +503,7 @@ animation.kind = AnimationKind::Out; animation.timeLine.setDirection(TimeLine::Backward); animation.timeLine.setDuration((*dataIt).slideOutDuration); - animation.timeLine.setEasingCurve(QEasingCurve::InOutSine); + animation.timeLine.setEasingCurve(QEasingCurve::OutQuad); // If the opposite animation (In) was active and it had shorter duration, // at this point, the timeline can end up in the "done" state. Thus, we have