summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-10-27 15:05:59 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-10-27 15:05:59 (GMT)
commit7ca94a08b9c232aaccb74fa85912515b8f9a6619 (patch)
treee60229477bc8269cf14904620bf0fc5ad18ef6d0 /src/gui/itemviews
parentf8c9314d6224948c28487e291b4cdad0049682c7 (diff)
parent7285c09ef777569514e73dffa22ecfdb7df6ba8f (diff)
downloadQt-7ca94a08b9c232aaccb74fa85912515b8f9a6619.zip
Qt-7ca94a08b9c232aaccb74fa85912515b8f9a6619.tar.gz
Qt-7ca94a08b9c232aaccb74fa85912515b8f9a6619.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r--src/gui/itemviews/qitemselectionmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemviews/qitemselectionmodel.cpp b/src/gui/itemviews/qitemselectionmodel.cpp
index e69cd65..e2a16b1 100644
--- a/src/gui/itemviews/qitemselectionmodel.cpp
+++ b/src/gui/itemviews/qitemselectionmodel.cpp
@@ -772,7 +772,7 @@ void QItemSelectionModelPrivate::_q_layoutAboutToBeChanged()
savedPersistentIndexes.clear();
savedPersistentCurrentIndexes.clear();
- // optimisation for when all indexes are selected
+ // optimization for when all indexes are selected
// (only if there is lots of items (1000) because this is not entirely correct)
if (ranges.isEmpty() && currentSelection.count() == 1) {
QItemSelectionRange range = currentSelection.first();