summaryrefslogtreecommitdiffstats
path: root/examples/opengl/opengl.pro
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2025-06-27 10:58:05 +0200
committerMarc Mutz <[email protected]>2025-06-27 22:34:25 +0200
commit943df16c72065cb7f0d13b9f0bceab06abfe3f71 (patch)
treec12bf87f2798d2d48ebca973af7ed6bbe926121c /examples/opengl/opengl.pro
parent4ec8b1096cbe5f888754fcd6de2b549f67a58914 (diff)
qWaitForWidgetWindow: fix excessive genericityHEADdev
The first argument was the same in all callers; instead of passing token-by-token-identical lambdas (which have all distinct types), we can pass the lambda's captured variables instead and inline the lambdas into the function. The third argument was always either int or QDeadlineTimer, so standardize on QDeadlineTimer. A follow-up change will change all arguments to QDeadlineTimer in the public API, too, so this is the future-proof and chrono-first-compatible version. Note 73c52ba2687c2035a40141f2a5236399f8331f4b for the QDeadlineTimer construction. Amends 7e4c2ac711c0b68133f06ab997a33f8bf7c4f734 and 3f2a9523a442e44ef52ebca30da9b5d3188df6bc. Pick-to: 6.10 6.9 6.8 Change-Id: I75f84abbf60cd77ce48c7ab0ee797e5e8a0879de Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'examples/opengl/opengl.pro')
0 files changed, 0 insertions, 0 deletions