Commit cf959b4b authored by J-P Nurmi's avatar J-P Nurmi
Browse files

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: default avatarSimon Hausmann <simon.hausmann@digia.com>
parent 4b7dc1cf
Showing with 129 additions and 3 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment