summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qelapsedtimer_generic.cpp
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2012-09-18 21:00:16 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-18 17:39:50 +0200
commit4efd73bc3ac318ec40adea2f21b3c9359ea1795a (patch)
tree60ec49b8762b28e116969e89ce2f270dabcd1bab /src/corelib/tools/qelapsedtimer_generic.cpp
parentede4f5e23b08e9b2cc8fb6a449ee9f667b8da9fa (diff)
QElapsedTimer: Fix typo in restart() documentation
Change-Id: Iac5df9edbe16ec841f783bc5266091a6e34e9cab Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qelapsedtimer_generic.cpp')
-rw-r--r--src/corelib/tools/qelapsedtimer_generic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qelapsedtimer_generic.cpp b/src/corelib/tools/qelapsedtimer_generic.cpp
index fc53fd9b8a..9332ee79ec 100644
--- a/src/corelib/tools/qelapsedtimer_generic.cpp
+++ b/src/corelib/tools/qelapsedtimer_generic.cpp
@@ -84,7 +84,7 @@ void QElapsedTimer::start() Q_DECL_NOTHROW
/*!
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