Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.0
-
None
-
Windows 7
Description
The following test case explains the bug better than I can:
import QtQuick 2.3 import QtTest 1.1 TestCase { ListModel { id: listModel ListElement { foo: "bar" } } function test_ListModel() { var element = listModel.get(0); compare(element, listModel.get(0)); // PASS with 5.5.0 and 5.6.0 verify(element == listModel.get(0)); // PASS with 5.5.0 but FAIL with 5.6.0 verify(element === listModel.get(0)); // PASS with 5.5.0 but FAIL with 5.6.0 } }
Attachments
Issue Links
- relates to
-
QTBUG-53470 ListModel get() leaks memory
- Closed
For Gerrit Dashboard: QTBUG-52017 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
221144,2 | Fix ListModel.get(idx) == ListModel.get(idx) | 5.11 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
221172,2 | Fix ListModel.get(idx) == ListModel.get(idx) | 5.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
221176,2 | Fix ListModel.get(idx) == ListModel.get(idx) | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |