Revert "Fixed a crash in QListView"
This caused regressions in the QListView This reverts commit 5b3872b2d7523d44ba454a76613e7a3fa45387f7. (cherry picked from commit 0edbaca5e7b718bb9bbbeaccc9e322b525b4327e)
This commit is contained in:
parent
1712e20a5a
commit
78ec3b2bd9
@ -1582,7 +1582,6 @@ bool QAbstractItemView::event(QEvent *event)
|
||||
break;
|
||||
case QEvent::LayoutDirectionChange:
|
||||
case QEvent::ApplicationLayoutDirectionChange:
|
||||
case QEvent::Resize:
|
||||
updateGeometries();
|
||||
break;
|
||||
case QEvent::StyleChange:
|
||||
@ -2444,6 +2443,7 @@ void QAbstractItemView::keyPressEvent(QKeyEvent *event)
|
||||
void QAbstractItemView::resizeEvent(QResizeEvent *event)
|
||||
{
|
||||
QAbstractScrollArea::resizeEvent(event);
|
||||
updateGeometries();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user