From dff8dd6c31e81269b99004d9fb4127cd50a86fe4 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Wed, 19 Sep 2012 08:58:49 +1000 Subject: QElapsedTimer: Fix typo in restart() documentation Change-Id: Iac5df9edbe16ec841f783bc5266091a6e34e9cab (cherry picked from commit 4efd73bc3ac318ec40adea2f21b3c9359ea1795a) Reviewed-by: Thiago Macieira Reviewed-by: Sergio Ahumada --- src/corelib/tools/qelapsedtimer_generic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12