mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-18 23:09:42 +01:00
* Properly calculate item spacing in AlbumViews.
This commit is contained in:
parent
c0c43441c1
commit
ad9cf93f28
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user