diff options
author | David Boddie <dboddie@trolltech.com> | 2009-09-08 17:05:52 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-09-08 17:07:47 (GMT) |
commit | eeb31d201371c5e0a118d5d89616e0ed092c836b (patch) | |
tree | e87115633bea45e1c489bdcac63f602173621e7b | |
parent | f6f099e33773e5739ef89681bc97a1a91ff168c8 (diff) | |
download | Qt-eeb31d201371c5e0a118d5d89616e0ed092c836b.zip Qt-eeb31d201371c5e0a118d5d89616e0ed092c836b.tar.gz Qt-eeb31d201371c5e0a118d5d89616e0ed092c836b.tar.bz2 |
Doc: A timeline's current value is not reset when the duration changes.
Task-number: 219152
Reviewed-by: Trust Me
-rw-r--r-- | src/corelib/tools/qtimeline.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/tools/qtimeline.cpp b/src/corelib/tools/qtimeline.cpp index 052c456..28ec963 100644 --- a/src/corelib/tools/qtimeline.cpp +++ b/src/corelib/tools/qtimeline.cpp @@ -388,6 +388,10 @@ void QTimeLine::setDirection(Direction direction) By default, this value is 1000 (i.e., 1 second), but you can change this by either passing a duration to QTimeLine's constructor, or by calling setDuration(). The duration must be larger than 0. + + \note Changing the duration does not cause the current time to be reset + to zero or the new duration. You also need to call setCurrentTime() with + the desired value. */ int QTimeLine::duration() const { |