Fix ModelSpy (and thus some model tests)

Authored by dvratil on Dec 4 2018, 4:27 PM.

Description

Fix ModelSpy (and thus some model tests)

Brace-initialization on types with a constructor that accepts
std::initializer_list calls this constructor instead of a copy
constructor, thus in this case calling newData{newData} produced
a QVariantList of QVariantLists instead of just copying the argument
into the member.

Details

Committed
dvratilDec 4 2018, 4:29 PM
Parents
R165:d2225d6bf5cc: Fix ItemStoreTest
Branches
Unknown
Tags
Unknown
References
tag: v18.12.0