summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/itemviews/qabstractitemview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemviews/qabstractitemview.cpp b/src/gui/itemviews/qabstractitemview.cpp
index 5142107..081a6d9 100644
--- a/src/gui/itemviews/qabstractitemview.cpp
+++ b/src/gui/itemviews/qabstractitemview.cpp
@@ -1542,7 +1542,6 @@ bool QAbstractItemView::event(QEvent *event)
break;
case QEvent::LayoutDirectionChange:
case QEvent::ApplicationLayoutDirectionChange:
- case QEvent::Resize:
updateGeometries();
break;
case QEvent::StyleChange:
@@ -2397,6 +2396,7 @@ void QAbstractItemView::keyPressEvent(QKeyEvent *event)
void QAbstractItemView::resizeEvent(QResizeEvent *event)
{
QAbstractScrollArea::resizeEvent(event);
+ updateGeometries();
}
/*!