diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2018-11-13 11:15:44 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2018-11-14 14:40:08 +0000 |
commit | cd201b2c2c2849fea0c5a38ffd979cd9d5b24997 (patch) | |
tree | b8084db8c1cdbcb00ad0db437d50c0f9b412a29e /src/widgets/kernel/qapplication_p.h | |
parent | 15b1c3fd9b82c8a29148c73be7aa4e8b2e07add1 (diff) |
Adjust QTRY_IMPL()'s default timestep
It was previously using 50ms steps, which was a bad choice for client
code whose total time-out was comparable to 50ms or less. Reduce the
time-step so that we loop several times within the timeout (but make
sure it's never zero, by adding 1ms).
Change-Id: I0428a7741c0741dfb312e40ae1eda900050195ab
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
Diffstat (limited to 'src/widgets/kernel/qapplication_p.h')
0 files changed, 0 insertions, 0 deletions