1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

Add small comment

This commit is contained in:
Uwe L. Korn 2014-10-12 15:04:11 +01:00
parent cf902b487d
commit 575411008f

@ -202,6 +202,7 @@ PlayableProxyModel::visibilityFilterAcceptsRow( int sourceRow, const QModelIndex
// We have already memoized the return value.
return memo.visibilty[sourceRow] < m_maxVisibleItems;
}
// else: We do not have memoized the value, so compute it.
int items = memo.visibilty.back();
for ( int i = memo.visibilty.size() - 1; ( i < sourceRow ) && ( items < m_maxVisibleItems ) ; i++ )