diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-03-25 15:52:10 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-03-27 12:29:29 +0100 |
commit | 0b2c04215dcdb0f209c46abe24c63deaaffc471c (patch) | |
tree | 5fcdf8476053ab55b30f09440190c8a228d998e0 /src/quick | |
parent | c64013079908e0d6ce90d565fbeaed7816c236ff (diff) |
QQmlTableInstanceModel: Restore draining behavior of Qt 5.14
In Qt 5.14 model items are directly deleted when draining the reusable
items pool, rather than calling deleteLater() on them. This may be
slightly more efficient and due to some unknown side effect the
deleteLater() call creates a memory leak.
Restore the direct delete in drainReusableItems().
Fixes: QTBUG-82000
Change-Id: Ia1027b1004c04e8aceaa5ff16a600849c46bf470
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/quick')
0 files changed, 0 insertions, 0 deletions