Make a local variable more local, set a variable only once its new value is known to be valid. Task-number: QTBUG-111228 Change-Id: Ib6aa16e8c834f89c6ccc0715f20b0e5f0a7f3b6d Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io> (cherry picked from commit 40b07ee887d9717088e3189b15c86a5c87759b1d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Qt is supplied with a number of example applications that have been written to provide developers with examples of the Qt API in use, highlight good programming practice, and showcase features found in each of Qt's core technologies. Documentation for examples can be found in the Examples section of the Qt documentation.