diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-11-30 11:28:25 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-11-30 14:10:29 +0000 |
commit | f9ba58a13baad7982600a84563b488f65581bfd9 (patch) | |
tree | 448b43618938219c35dfb0742bdcf96ff48479a6 /config.tests | |
parent | 22639e65d2168e4d45c5a5ffe42ad85f5ef26d7d (diff) |
Fix scoping of loop variables in QApplicationPrivate::dispatchEnterLeave()
Don't reuse 'w' as the loop variable for every loop in the
(very long) function. Scope the variable closer, or, where
there are no natural scopes, define a new variable.
Required turning some while loops into (more natural) for
loops.
Change-Id: I7d1a52503aeb19cd76be22153ba3d0961bd44cae
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions