mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
Show horizontal column-view scrollbar as needed.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user