summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-10-28 07:42:10 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-10-29 16:00:13 (GMT)
commit578b113f3dcceec0a88599494ad686fbc8cbfbb5 (patch)
tree6afd110941bf49442827dbae1071236ee72d4d79
parenteec8980202f05737b0ef0b8db410675e0df5bafe (diff)
downloadQt-578b113f3dcceec0a88599494ad686fbc8cbfbb5.zip
Qt-578b113f3dcceec0a88599494ad686fbc8cbfbb5.tar.gz
Qt-578b113f3dcceec0a88599494ad686fbc8cbfbb5.tar.bz2
Fix QT_NO_MAINWINDOW
Reviewed-by: tom
-rw-r--r--src/gui/widgets/qwidgetanimator.cpp2
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
}