mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-16 11:04:01 +02:00
What happens if we never scroll the ColumnViewPreviewWidget?
This commit is contained in:
@@ -486,7 +486,8 @@ ColumnView::fixScrollBars()
|
|||||||
if ( sb && sb->orientation() == Qt::Vertical )
|
if ( sb && sb->orientation() == Qt::Vertical )
|
||||||
{
|
{
|
||||||
sb->setSingleStep( 6 );
|
sb->setSingleStep( 6 );
|
||||||
connect( sb, SIGNAL( valueChanged( int ) ), SLOT( onScrollBarChanged( int ) ), Qt::UniqueConnection );
|
//FIXME: The preview widget should probably never scroll. Do we even need the following hack?
|
||||||
|
//connect( sb, SIGNAL( valueChanged( int ) ), SLOT( onScrollBarChanged( int ) ), Qt::UniqueConnection );
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user