src/hbwidgets/itemviews/hbtreeitemcontainer_p.cpp
changeset 6 c3690ec91ef8
parent 2 06ff229162e9
child 21 4633027730f5
child 34 ed14f46c0e55
--- a/src/hbwidgets/itemviews/hbtreeitemcontainer_p.cpp	Fri Jun 11 13:58:22 2010 +0300
+++ b/src/hbwidgets/itemviews/hbtreeitemcontainer_p.cpp	Wed Jun 23 18:33:25 2010 +0300
@@ -187,7 +187,7 @@
     if (minHeight == 0.0) {
         QModelIndex index;
         while (mItems.isEmpty()) {
-            // in practise following conditions must apply: itemview is empty and scrollTo() has been called.
+            // in practize following conditions must apply: itemview is empty and scrollTo() has been called.
             // Starts populating items from given mFirstItemIndex
             if ( mFirstItemIndex.isValid()) {
                 index = mFirstItemIndex;
@@ -426,7 +426,7 @@
                 // because only then container can go out of bounds
                 qreal viewSize = itemView()->boundingRect().size().height();
                 if (layoutPreferredHeight + pos().y() < viewSize) {
-                    // position is allways negative
+                    // position is always negative
                     // view out of bounds
                     if (diff > 0.0) {
                         QPointF posDiff(pos().x(), 0.0);