Symbian's QElapsedTimer::restart() fixed to return ms rather than us

Symbian's QElapsedTimer::restart() had accidently been changed to
return a microsecond count rather than milliseconds, when the elapsed
timer resolution was increased. This fixes it back to milliseconds.

Reviewed-by: Shane Kearns
(cherry picked from commit 39202973e3fb7ff37033290b29efa1b9edc674fb)
bb10
mread 2011-04-19 13:12:24 +01:00 committed by Olivier Goffart
parent 6c42aa3b0f
commit 3e787c470d
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ qint64 QElapsedTimer::restart()
qint64 oldt1 = t1;
t1 = getMicrosecondFromTick();
t2 = 0;
return t1 - oldt1;
return (t1 - oldt1) / 1000;
}
qint64 QElapsedTimer::nsecsElapsed() const