summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qpauseanimation.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-10-20 10:48:24 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-10-20 10:53:54 (GMT)
commit8b0e59706f0d7a68446b6ff5c646e2bbdef5f496 (patch)
tree8ca42c2608d10f10ff949f79a5568b953d4f4efb /src/corelib/animation/qpauseanimation.cpp
parent27df4f3fe6c290f22d509f677e46c7096156817b (diff)
downloadQt-8b0e59706f0d7a68446b6ff5c646e2bbdef5f496.zip
Qt-8b0e59706f0d7a68446b6ff5c646e2bbdef5f496.tar.gz
Qt-8b0e59706f0d7a68446b6ff5c646e2bbdef5f496.tar.bz2
Make the default duration of pause animations 250ms
Diffstat (limited to 'src/corelib/animation/qpauseanimation.cpp')
-rw-r--r--src/corelib/animation/qpauseanimation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/animation/qpauseanimation.cpp b/src/corelib/animation/qpauseanimation.cpp
index d90f001..21e5b08 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
{