mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
* maxVisibleItems of 0 isn't valid.
This commit is contained in:
parent
fdb94bec52
commit
982791f574
@ -131,7 +131,7 @@ PlayableProxyModel::filterAcceptsRow( int sourceRow, const QModelIndex& sourcePa
|
||||
if ( !pi )
|
||||
return false;
|
||||
|
||||
if ( m_maxVisibleItems >= 0 && sourceRow > m_maxVisibleItems - 1 )
|
||||
if ( m_maxVisibleItems > 0 && sourceRow > m_maxVisibleItems - 1 )
|
||||
return false;
|
||||
|
||||
if ( m_hideDupeItems )
|
||||
|
Loading…
x
Reference in New Issue
Block a user