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> |
||
|---|---|---|
| .. | ||
| accessible | ||
| dialogs | ||
| doc | ||
| effects | ||
| graphicsview | ||
| itemviews | ||
| kernel | ||
| statemachine | ||
| styles | ||
| util | ||
| widgets | ||
| Qt5WidgetsConfigExtras.cmake.in | ||
| Qt5WidgetsMacros.cmake | ||
| QtWidgets.dynlist | ||
| widgets.pro | ||