summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qlistview.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-13 12:03:39 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-13 12:04:44 (GMT)
commit32182d107fa75e5619ecc91a81f50626f429ebe1 (patch)
tree97d8ed9480b92d053e39850b214a14f696f1ed6b /src/gui/itemviews/qlistview.cpp
parentd54224252d56a50b42c8991308840ea1acde8f30 (diff)
downloadQt-32182d107fa75e5619ecc91a81f50626f429ebe1.zip
Qt-32182d107fa75e5619ecc91a81f50626f429ebe1.tar.gz
Qt-32182d107fa75e5619ecc91a81f50626f429ebe1.tar.bz2
QTreeView: now dragging lots of items is fast
Diffstat (limited to 'src/gui/itemviews/qlistview.cpp')
-rw-r--r--src/gui/itemviews/qlistview.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/itemviews/qlistview.cpp b/src/gui/itemviews/qlistview.cpp
index 9a94b31..40f28d4 100644
--- a/src/gui/itemviews/qlistview.cpp
+++ b/src/gui/itemviews/qlistview.cpp
@@ -722,7 +722,6 @@ QItemViewPaintPairs QListViewPrivate::draggablePaintPairs(const QModelIndexList
QRect &rect = *r;
const QRect viewportRect = viewport->rect();
QItemViewPaintPairs ret;
- intersectingSet(viewportRect);
const QSet<QModelIndex> visibleIndexes = intersectingSet(viewportRect).toList().toSet();
for (int i = 0; i < indexes.count(); ++i) {
const QModelIndex &index = indexes.at(i);