diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-15 13:24:16 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-15 13:24:16 (GMT) |
commit | b61d07fc4ad33193d67ac771e7266b43ea6a859b (patch) | |
tree | f06f39d2668f8ebf926de252d30f60d119d6b4ed /src/gui/itemviews | |
parent | 0417dd8dacb8b6123df10c947af396bed1ade82f (diff) | |
parent | 2eb373a68367a6511e12d60034e920345431bcc8 (diff) | |
download | Qt-b61d07fc4ad33193d67ac771e7266b43ea6a859b.zip Qt-b61d07fc4ad33193d67ac771e7266b43ea6a859b.tar.gz Qt-b61d07fc4ad33193d67ac771e7266b43ea6a859b.tar.bz2 |
Merge commit 'origin/4.5' into origin/4.6
Conflicts:
src/gui/kernel/qcocoaview_mac.mm
src/network/access/qhttpnetworkconnection.cpp
src/opengl/qgl_qws.cpp
src/opengl/qglpixelbuffer_egl.cpp
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r-- | src/gui/itemviews/qabstractitemview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemviews/qabstractitemview.cpp b/src/gui/itemviews/qabstractitemview.cpp index 13a1662..d91cedd 100644 --- a/src/gui/itemviews/qabstractitemview.cpp +++ b/src/gui/itemviews/qabstractitemview.cpp @@ -3029,7 +3029,7 @@ void QAbstractItemView::update(const QModelIndex &index) //this test is important for peformance reason //For example in dataChanged we simply update all the cells without checking //it can be a major bottleneck to update rects that aren't even part of the viewport - if (d->viewport->geometry().intersects(rect)) + if (d->viewport->rect().intersects(rect)) d->viewport->update(rect); } } |