qt6-bb10/src
Marc Mutz f9ba58a13b 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>
2015-11-30 14:10:29 +00:00
..
3rdparty Merge remote-tracking branch 'origin/5.6' into dev 2015-11-27 08:27:53 +01:00
android Merge remote-tracking branch 'origin/5.6' into dev 2015-11-04 20:18:14 +01:00
angle Merge remote-tracking branch 'origin/5.5' into 5.6 2015-11-04 12:28:48 +01:00
concurrent QtConcurrent: Use Q_NULLPTR instead of 0 in all public headers 2015-11-04 14:17:08 +00:00
corelib Use Q_UNLIKELY for every qFatal()/qCritical() 2015-11-29 22:59:17 +00:00
dbus Use Q_UNLIKELY for every qFatal()/qCritical() 2015-11-29 22:59:17 +00:00
gui Use Q_UNLIKELY for every qFatal()/qCritical() 2015-11-29 22:59:17 +00:00
network Use Q_UNLIKELY for every qFatal()/qCritical() 2015-11-29 22:59:17 +00:00
opengl Use Q_UNLIKELY for every qFatal()/qCritical() 2015-11-29 22:59:17 +00:00
openglextensions
platformheaders Doc: Update examplesinstallpath to include the repository name 2015-10-21 09:50:16 +00:00
platformsupport Use Q_UNLIKELY for every qFatal()/qCritical() 2015-11-29 22:59:17 +00:00
plugins Use Q_UNLIKELY for every qFatal()/qCritical() 2015-11-29 22:59:17 +00:00
printsupport Use Q_UNLIKELY for every qFatal()/qCritical() 2015-11-29 22:59:17 +00:00
sql qsql: move QSqlCachedResultPrivate to header 2015-11-30 08:33:33 +00:00
testlib Use Q_UNLIKELY for every qFatal()/qCritical() 2015-11-29 22:59:17 +00:00
tools Use Q_UNLIKELY for every qFatal()/qCritical() 2015-11-29 22:59:17 +00:00
widgets Fix scoping of loop variables in QApplicationPrivate::dispatchEnterLeave() 2015-11-30 14:10:29 +00:00
winmain winrt: Exit application properly 2015-10-30 21:50:43 +00:00
xml Fix QDomNamedNodeMap::item crash with negative index 2015-10-29 08:05:45 +00:00
src.pro make a proper header-only module for QtZlib 2015-11-17 20:22:17 +00:00