diff options
Diffstat (limited to 'src/gui/widgets/qwidgetanimator.cpp')
-rw-r--r-- | src/gui/widgets/qwidgetanimator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/qwidgetanimator.cpp b/src/gui/widgets/qwidgetanimator.cpp index d4a61e3..f440961 100644 --- a/src/gui/widgets/qwidgetanimator.cpp +++ b/src/gui/widgets/qwidgetanimator.cpp @@ -60,7 +60,9 @@ void QWidgetAnimator::abort(QWidget *w) QPropertyAnimation *anim = *it; m_animation_map.erase(it); anim->stop(); +#ifndef QT_NO_MAINWINDOW m_mainWindowLayout->animationFinished(w); +#endif #else Q_UNUSED(w); //there is no animation to abort #endif //QT_NO_ANIMATION |