mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
* Properly calculate item spacing in AlbumViews.
This commit is contained in:
@@ -219,7 +219,7 @@ AlbumView::resizeEvent( QResizeEvent* event )
|
||||
if ( autoFitItems() )
|
||||
{
|
||||
#ifdef Q_WS_X11
|
||||
int scrollbar = !verticalScrollBar()->isVisible() ? verticalScrollBar()->rect().width() : 0;
|
||||
int scrollbar = verticalScrollBar()->isVisible() ? verticalScrollBar()->width() : 0;
|
||||
#else
|
||||
int scrollbar = verticalScrollBar()->rect().width();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user