diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2011-12-21 11:33:07 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-02 10:44:00 +0100 |
commit | 4e1ad49998cf782ccc88e7e80fbd05c722658a16 (patch) | |
tree | 853adec328e55d9ea79e7ea35c4299fa124bbf54 /src/gui/painting | |
parent | 6fc9820d2a3f349f04a2ea9c39261de0168d2331 (diff) |
Make QTimer::singleShot use Qt::PreciseTimer for lower timeouts.
CoarseTimers are worst in their first firing, so we prefer a
PreciseTimer for something that happens only once. If the timeout is
too big, we use a CoarseTimer anyway (current threshold is 2000ms).
Author: Thiago Macieira <thiago.macieira@nokia.com>
Change-Id: I30b20acf506e442cd58126abfe3a4d70fc13b075
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/painting')
0 files changed, 0 insertions, 0 deletions