Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.3.2, 5.5.1
-
None
Description
Repeatedly calling setModel() (with another Model than the current one) leaks memory, even if you delete the SelectionModel as described in http://doc.qt.io/qt-5/qabstractitemview.html#setModel !
Reason:
As described in https://bugreports.qt.io/browse/QTBUG-10806, the setModel() call creates a new SelectionModel on the header, which is then replaced with the new SelectionModel of the View.