From 870ca5a366357e5e65c750ab5509134f56f488bf Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Tue, 14 Oct 2014 07:24:20 +0200 Subject: [PATCH] Fixed max-visible items when appending them in batches. --- src/libtomahawk/playlist/GridView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/GridView.cpp b/src/libtomahawk/playlist/GridView.cpp index 0792461c6..c6da323ae 100644 --- a/src/libtomahawk/playlist/GridView.cpp +++ b/src/libtomahawk/playlist/GridView.cpp @@ -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 ) {