on xenial help sign in
whitespace
77c168aAlbert Astals
plugins/ListViewWithPageHeader/listviewwithpageheader.cpp+2−2
@@ -1053,8 +1053,8 @@ void ListViewWithPageHeader::layout()
1053 // pushed the sticky section up to make it disappear
1053 // pushed the sticky section up to make it disappear
1054 const qreal topSectionStickPos = m_headerItemShownHeight + contentY() - m_clipItem->y();
1054 const qreal topSectionStickPos = m_headerItemShownHeight + contentY() - m_clipItem->y();
1055 bool showStickySectionItem;
1055 bool showStickySectionItem;
1056− // We need to show the "top section sticky item" when the position at the "top" of the
1056+ // We need to show the "top section sticky item" when the position at the "top" of the
1057− // viewport is bigger than the start of the position of the first visible item
1057+ // viewport is bigger than the start of the position of the first visible item
1058 // i.e. the first visible item starts before the viewport, or when the first
1058 // i.e. the first visible item starts before the viewport, or when the first
1059 // visible item starts just at the viewport start and it does not have its own section item
1059 // visible item starts just at the viewport start and it does not have its own section item
1060 if (topSectionStickPos > pos) {
1060 if (topSectionStickPos > pos) {