mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
Show horizontal column-view scrollbar as needed.
This commit is contained in:
parent
f6a8b81298
commit
edbd14f4d0
@ -135,14 +135,7 @@ ColumnView::setTreeModel( TreeModel* model )
|
||||
|
||||
guid(); // this will set the guid on the header
|
||||
|
||||
if ( m_proxyModel->style() == PlayableProxyModel::SingleColumn )
|
||||
{
|
||||
setHorizontalScrollBarPolicy( Qt::ScrollBarAlwaysOff );
|
||||
}
|
||||
else
|
||||
{
|
||||
setHorizontalScrollBarPolicy( Qt::ScrollBarAsNeeded );
|
||||
}
|
||||
setHorizontalScrollBarPolicy( Qt::ScrollBarAsNeeded );
|
||||
|
||||
connect( model, SIGNAL( changed() ), this, SIGNAL( modelChanged() ) );
|
||||
emit modelChanged();
|
||||
|
Loading…
x
Reference in New Issue
Block a user