diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2014-10-29 13:59:46 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2014-10-29 21:50:12 +0100 |
commit | cf959b4b4ea3d2dfd5243022fea393fadfd95b0d (patch) | |
tree | 15191c98807e379e57267cfb5bf7a28bd53d4c83 /src/quick/items/qquicktextcontrol.cpp | |
parent | 4b7dc1cf59da656be1f51a5a7bdac01b1ae8219a (diff) |
Repeater & itemviews: fix setModel() JS array handling
QVariant comparison in setModel() started failing because
JS arrays are now passed as a QJSValue. Re-assigning the
same array content should not trigger a model change.
This change restores the old behavior it had before, when
JS arrays were passed as QVariantLists.
Change-Id: I1882b3531f2893b116dbd817edeecab1ae812ce8
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/quick/items/qquicktextcontrol.cpp')
0 files changed, 0 insertions, 0 deletions