Fix typo: contais -> contains.
authorStephen Kelly <stephen.kelly@kdab.com>
Thu, 27 Sep 2012 13:23:40 +0000 (15:23 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 27 Sep 2012 13:31:52 +0000 (15:31 +0200)
Change-Id: I718b0178ba03fcf15f2962cb6f917efb2da27a04
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
src/widgets/itemviews/qtreeview.cpp

index b6ca379..9c254b5 100644 (file)
@@ -1329,7 +1329,7 @@ bool QTreeViewPrivate::expandOrCollapseItemAtPos(const QPoint &pos)
 
 void QTreeViewPrivate::_q_modelDestroyed()
 {
-    //we need to clear that list because it contais QModelIndex to 
+    //we need to clear the viewItems because it contains QModelIndexes to
     //the model currently being destroyed
     viewItems.clear();
     QAbstractItemViewPrivate::_q_modelDestroyed();