aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2017-12-11 10:47:18 +0100
committerMitch Curtis <mitch.curtis@qt.io>2017-12-13 11:02:04 +0000
commitd297dfd0641e6608386205d99a0518726c315867 (patch)
tree9c1ba182f3e3ae39a9194cd2b3fde37e099b4a76 /src
parentf2347407964bed0e88826f3eb8303bbad46297db (diff)
tst_inputpanel: don't rely on index var being valid after first loop
In Qt 5.10 this code would work, but in dev inputIndex is null. It might be a regression or it might be a fix to comply with the standard, but either way, we should be explicit in the test and initialize the variable in the for loop's initial expression. Task-number: QTBUG-64988 Change-Id: Idf6019307a02a32dcb6237e2e83e5a9cd512df3d Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions