diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-10-20 12:48:24 +0200 |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-10-20 12:53:54 +0200 |
commit | 8b0e59706f0d7a68446b6ff5c646e2bbdef5f496 (patch) | |
tree | 8ca42c2608d10f10ff949f79a5568b953d4f4efb /src/corelib/animation | |
parent | 27df4f3fe6c290f22d509f677e46c7096156817b (diff) | |
download | qt4-tools-8b0e59706f0d7a68446b6ff5c646e2bbdef5f496.tar.gz |
Make the default duration of pause animations 250ms
Diffstat (limited to 'src/corelib/animation')
-rw-r--r-- | src/corelib/animation/qpauseanimation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/animation/qpauseanimation.cpp b/src/corelib/animation/qpauseanimation.cpp index d90f0013d0..21e5b0849a 100644 --- a/src/corelib/animation/qpauseanimation.cpp +++ b/src/corelib/animation/qpauseanimation.cpp @@ -73,7 +73,7 @@ QT_BEGIN_NAMESPACE class QPauseAnimationPrivate : public QAbstractAnimationPrivate { public: - QPauseAnimationPrivate() : QAbstractAnimationPrivate(), duration(0) + QPauseAnimationPrivate() : QAbstractAnimationPrivate(), duration(250) { isPause = true; } @@ -114,6 +114,7 @@ QPauseAnimation::~QPauseAnimation() \brief the duration of the pause. The duration of the pause. The duration should not be negative. + The default duration is 250 milliseconds. */ int QPauseAnimation::duration() const { |