mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 03:24:15 +02:00
Fixed max-visible items when appending them in batches.
This commit is contained in:
@@ -298,7 +298,7 @@ GridView::verifySize()
|
|||||||
|
|
||||||
if ( !isWrapping() )
|
if ( !isWrapping() )
|
||||||
{
|
{
|
||||||
m_proxyModel->setMaxVisibleItems( qMin( itemsPerRow, m_model->rowCount( QModelIndex() ) ) );
|
m_proxyModel->setMaxVisibleItems( itemsPerRow );
|
||||||
}
|
}
|
||||||
else if ( newHeight > 0 )
|
else if ( newHeight > 0 )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user