diff --git a/animations/fade.cpp b/animations/fade.cpp index ad4936887..a4604c0fe 100644 --- a/animations/fade.cpp +++ b/animations/fade.cpp @@ -30,8 +30,8 @@ FadeAnimation::FadeAnimation(qreal factor) { } -QAbstractAnimation* FadeAnimation::render(QObject* parent){ - +QAbstractAnimation* FadeAnimation::render(QObject* parent) +{ //create animation QGraphicsWidget *m_object = widgetToAnimate(); QPropertyAnimation* anim = new QPropertyAnimation(m_object, "opacity", parent);