- 
    Bug 
- 
    Resolution: Done
- 
    P3: Somewhat important 
- 
    5.4.1, 5.5.1, 5.6.0 Beta
- 
    None
- 
        6129aade0018437d8d65a0051040d7100c8ec681
QAbstractItemView::setSelectionModel does not know to restore the connections created by QListWidgetPrivate::setup, so calling setSelectionModel on a QListWidget breaks the connections to QItemSelectionModel signals. Moving those connections from QListWidgetPrivate::setup to a new QListWidget::setSelectionModel override function fixes the problem. See attached modified files.
(See also http://forum.qt.io/topic/63674/qlistwidget-setselectionmodel-stops-emission-of-itemselectionchanged-signal.)
- relates to
- 
                    QTBUG-34134 Using QTreeWidget::setSelectionModel(QItemSelectionModel * selectionModel) breaks selection signals -           
- Closed
 
-