summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2011-04-14 07:48:58 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2011-04-19 14:01:28 (GMT)
commit0edbaca5e7b718bb9bbbeaccc9e322b525b4327e (patch)
tree1eecf746b737cd5b39ec5ad0532642d7b3afc1cc
parentcb503a3f4901c0b017374f099b0de8c0c4c50648 (diff)
downloadQt-0edbaca5e7b718bb9bbbeaccc9e322b525b4327e.zip
Qt-0edbaca5e7b718bb9bbbeaccc9e322b525b4327e.tar.gz
Qt-0edbaca5e7b718bb9bbbeaccc9e322b525b4327e.tar.bz2
Revert "Fixed a crash in QListView"
This caused regressions in the QListView This reverts commit 5b3872b2d7523d44ba454a76613e7a3fa45387f7.
-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();
}
/*!