on xenial help sign in
wording
e721c26Albert Astals
plugins/DashViews/verticaljournal.cpp+2−2
@@ -515,8 +515,8 @@ void VerticalJournal::onModelUpdated(const QQmlChangeSet &changeSet, bool reset)
515#endif
515#endif
516 for (int i = remove.count - 1; i >= 0; --i) {
516 for (int i = remove.count - 1; i >= 0; --i) {
517 const int indexToRemove = remove.index + i;
517 const int indexToRemove = remove.index + i;
518− // We only support removing from the end so
518+ // Since we only support removing from the end, indexToRemove
519− // any of the last items of a column has to be indexToRemove
519+ // must refer to the last item of one of the columns.
520 bool found = false;
520 bool found = false;
521 for (int i = 0; !found && i < m_columnVisibleItems.count(); ++i) {
521 for (int i = 0; !found && i < m_columnVisibleItems.count(); ++i) {
522 QList<ViewItem> &column = m_columnVisibleItems[i];
522 QList<ViewItem> &column = m_columnVisibleItems[i];