Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.4
Description
The docs for QElapsedTimer::isValid() state the following:
"Returns true if this object was invalidated by a call to invalidate() and has not been restarted since."
This is actually false. isValid() returns true if the timer is running right now. It returns false if the timer has not been started or invalidate() has been called without restarting it.