diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2009-10-28 07:42:10 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2009-10-29 16:00:13 (GMT) |
commit | 578b113f3dcceec0a88599494ad686fbc8cbfbb5 (patch) | |
tree | 6afd110941bf49442827dbae1071236ee72d4d79 | |
parent | eec8980202f05737b0ef0b8db410675e0df5bafe (diff) | |
download | Qt-578b113f3dcceec0a88599494ad686fbc8cbfbb5.zip Qt-578b113f3dcceec0a88599494ad686fbc8cbfbb5.tar.gz Qt-578b113f3dcceec0a88599494ad686fbc8cbfbb5.tar.bz2 |
Fix QT_NO_MAINWINDOW
Reviewed-by: tom
-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 f440961..bdd3c75 100644 --- a/src/gui/widgets/qwidgetanimator.cpp +++ b/src/gui/widgets/qwidgetanimator.cpp @@ -105,7 +105,9 @@ void QWidgetAnimator::animate(QWidget *widget, const QRect &_final_geometry, boo #else //we do it in one shot widget->setGeometry(final_geometry); +#ifndef QT_NO_MAINWINDOW m_mainWindowLayout->animationFinished(widget); +#endif //QT_NO_MAINWINDOW #endif //QT_NO_ANIMATION } |