examples: replace var with let/const in recorder QML


var declarations in block scope are hoisted to function scope, which
qmllint flags. Use const for for-of loop variables and let for the
index loops. No behavior change.

Pick-to: 6.12
Change-Id: Iac089bb42d1d3d8eb080563cbe5ccc5fd27f48b0
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commit9d6faddf3bf51306f24dac9df327e1515830d441
parent005d7c149c525b93cebaccd443cd52a64047e10b
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeWed, 7 Oct 2026 08:37:33 +0000