1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-16 02:54:33 +02:00

Fixed max-visible items when appending them in batches.

This commit is contained in:
Christian Muehlhaeuser
2014-10-14 07:24:20 +02:00
parent 3a82481e6b
commit 870ca5a366

View File

@@ -298,7 +298,7 @@ GridView::verifySize()
if ( !isWrapping() )
{
m_proxyModel->setMaxVisibleItems( qMin( itemsPerRow, m_model->rowCount( QModelIndex() ) ) );
m_proxyModel->setMaxVisibleItems( itemsPerRow );
}
else if ( newHeight > 0 )
{