diff options
author | Michael Winkelmann <Michael.winkelmann@qt.io> | 2017-03-02 17:16:09 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2017-03-07 07:11:44 +0000 |
commit | a54f08e1ead70e821f438279e548d54e38c4aa8f (patch) | |
tree | b63f726da6bbac502a4da5ed754463e31fcbf2cf /src/quick/util | |
parent | ba6de61acd3129ad1435f6bca7f564385212f95c (diff) |
Replace QList<Person*> with QVector<Person*> and function pointers
The usage of the QQmlListProperty QList constructor is discouraged since
QList violates QML's memory management rules.
Replaced the QList with a QVector and passed the function pointers to the
QQmlListProperty constructor instead, as officially recommended.
Change-Id: I6d28a43530cc3edd5e7d89c351bad70deb721689
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/quick/util')
0 files changed, 0 insertions, 0 deletions