diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-03-20 09:25:55 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-03-20 09:49:01 +0100 |
commit | 34a5567ae6a109c7a0ce1cf65e5e1a6d8786881e (patch) | |
tree | 2e7ec8aeeb63455baf6cdd8c90d3d0621aea7674 /src/qmlmodels | |
parent | 4656ea5252974f60a05ee2150e1e8eace4e7542f (diff) |
tst_qquicklistview: Don't use QTest::toString()
This construction leaks the resulting character array. You need to
actually delete[] it. However, we can be pretty sure that there are no
questionable characters in those strings. Therefore we can just use
qPrintable instead.
Change-Id: Ib863f0ed7db800680a44df534e3b46a4ba807798
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qmlmodels')
0 files changed, 0 insertions, 0 deletions