mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-08 23:26:40 +02:00
* maxVisibleItems of 0 isn't valid.
This commit is contained in:
@@ -131,7 +131,7 @@ PlayableProxyModel::filterAcceptsRow( int sourceRow, const QModelIndex& sourcePa
|
|||||||
if ( !pi )
|
if ( !pi )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ( m_maxVisibleItems >= 0 && sourceRow > m_maxVisibleItems - 1 )
|
if ( m_maxVisibleItems > 0 && sourceRow > m_maxVisibleItems - 1 )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ( m_hideDupeItems )
|
if ( m_hideDupeItems )
|
||||||
|
Reference in New Issue
Block a user