diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-07-09 08:40:13 (GMT) |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-07-09 08:40:13 (GMT) |
commit | 015946b60c991593d28cd1d9383f0eb7e8c30334 (patch) | |
tree | f31711ec8c6d77d33f6fec567dbc74306ce29c36 /src/gui/widgets/qwidgetanimator.cpp | |
parent | 458c547aefcb529fe807a220109e2a7ce6bd9105 (diff) | |
download | Qt-015946b60c991593d28cd1d9383f0eb7e8c30334.zip Qt-015946b60c991593d28cd1d9383f0eb7e8c30334.tar.gz Qt-015946b60c991593d28cd1d9383f0eb7e8c30334.tar.bz2 |
Remove unneeded assert.
Triggered on Designer startup on Linux.
Acked-by: Thierry Bastian <thierry.bastian@nokia.com>
Diffstat (limited to 'src/gui/widgets/qwidgetanimator.cpp')
-rw-r--r-- | src/gui/widgets/qwidgetanimator.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/widgets/qwidgetanimator.cpp b/src/gui/widgets/qwidgetanimator.cpp index 26cf905..1a93b51 100644 --- a/src/gui/widgets/qwidgetanimator.cpp +++ b/src/gui/widgets/qwidgetanimator.cpp @@ -100,7 +100,6 @@ void QWidgetAnimator::animate(QWidget *widget, const QRect &_final_geometry, boo m_animation_map[widget] = anim; connect(anim, SIGNAL(finished()), SLOT(animationFinished())); anim->start(QPropertyAnimation::DeleteWhenStopped); - Q_ASSERT(animate || widget->geometry() == final_geometry); #else //we do it in one shot widget->setGeometry(final_geometry); |