diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-10 14:30:49 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-10 14:33:46 (GMT) |
commit | 364aa2a21512d32f3f4271f438e3a6fa799c1e9e (patch) | |
tree | 3f40e5d593948e13ebf4623134af4ac9e40fadb9 /src/gui/itemviews/qabstractitemview_p.h | |
parent | 4ed3ee42bae92b0feb5c898e4f0fdf7d34e34108 (diff) | |
download | Qt-364aa2a21512d32f3f4271f438e3a6fa799c1e9e.zip Qt-364aa2a21512d32f3f4271f438e3a6fa799c1e9e.tar.gz Qt-364aa2a21512d32f3f4271f438e3a6fa799c1e9e.tar.bz2 |
ItemViews: make the pixmap from drag and drop more efficient
We don't need to draw all the items that are selected. We just need
those whose rect intersects the one from the viewport.
Task-number: 233342
Diffstat (limited to 'src/gui/itemviews/qabstractitemview_p.h')
-rw-r--r-- | src/gui/itemviews/qabstractitemview_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemviews/qabstractitemview_p.h b/src/gui/itemviews/qabstractitemview_p.h index 00647f6..7443d50 100644 --- a/src/gui/itemviews/qabstractitemview_p.h +++ b/src/gui/itemviews/qabstractitemview_p.h @@ -221,7 +221,7 @@ public: void clearOrRemove(); void checkPersistentEditorFocus(); - QPixmap renderToPixmap(const QModelIndexList &indexes, QRect *r = 0) const; + QPixmap renderToPixmap(const QModelIndexList &indexes, QRect *r) const; inline QPoint offset() const { const Q_Q(QAbstractItemView); |