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:
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++ )
|
||||
|
Loading…
x
Reference in New Issue
Block a user