summaryrefslogtreecommitdiffstats
path: root/LICENSE.QT-LICENSE-AGREEMENT
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-11-26 14:09:20 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2021-12-09 20:54:25 +0100
commitd41d3274d430922883afd714d87d81cf0e62d5d9 (patch)
tree6fbc9df4f63f5e559490a474424b9866764233de /LICENSE.QT-LICENSE-AGREEMENT
parent37bc11e707d3f29fa81675bcc41610ab65c2b314 (diff)
Replace out-of-date comment on QTRY_IMPL(), about qWaitFor()
A comment on QTRY_IMPL() helpfully mentioned the bug number of the issue that prevented us from using qWaitFor; and MSVC < 2017 are no longer supported so it looked possible to make the change suggested. However, the implementation has, in the mean time, grown some features not (currently) provided by qWaitFor(), so update the comment. In the process, fix one minor error in QTRY_TIMEOUT_DEBUG_IMPL() where parentheses enclosed the wrong text; (2 * timeoutValue) would not produce the intended result if timeoutValue were 1 + 500, for example. The macro parameter should be enclosed, not the expression using it as parameter to a further macro. Task-number: QTBUG-59096 Change-Id: Ie16e297def9d1f983cd5964bc628b2c3c0aaecda Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'LICENSE.QT-LICENSE-AGREEMENT')
0 files changed, 0 insertions, 0 deletions