diff options
author | Jonathan Liu <net147@gmail.com> | 2012-09-18 22:58:49 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-09-26 04:06:40 (GMT) |
commit | dff8dd6c31e81269b99004d9fb4127cd50a86fe4 (patch) | |
tree | 16b2d0f919f5d2dc645b7467685bd845a64bef50 | |
parent | 770ef3867e7b7d8591f6a75783ee9ed1ce2da2d4 (diff) | |
download | Qt-dff8dd6c31e81269b99004d9fb4127cd50a86fe4.zip Qt-dff8dd6c31e81269b99004d9fb4127cd50a86fe4.tar.gz Qt-dff8dd6c31e81269b99004d9fb4127cd50a86fe4.tar.bz2 |
QElapsedTimer: Fix typo in restart() documentation
Change-Id: Iac5df9edbe16ec841f783bc5266091a6e34e9cab
(cherry picked from commit 4efd73bc3ac318ec40adea2f21b3c9359ea1795a)
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
-rw-r--r-- | src/corelib/tools/qelapsedtimer_generic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qelapsedtimer_generic.cpp b/src/corelib/tools/qelapsedtimer_generic.cpp index 038a15b..a22ccb9 100644 --- a/src/corelib/tools/qelapsedtimer_generic.cpp +++ b/src/corelib/tools/qelapsedtimer_generic.cpp @@ -84,7 +84,7 @@ void QElapsedTimer::start() /*! Restarts the timer and returns the time elapsed since the previous start. This function is equivalent to obtaining the elapsed time with elapsed() - and then starting the timer again with restart(), but it does so in one + and then starting the timer again with start(), but it does so in one single operation, avoiding the need to obtain the clock value twice. The following example illustrates how to use this function to calibrate a |