Skip to content

Commit 031f8b7

Browse files
committed
Show horizontal column-view scrollbar as needed.
1 parent 6d611bf commit 031f8b7

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/libtomahawk/playlist/ColumnView.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,7 @@ ColumnView::setTreeModel( TreeModel* model )
135135

136136
guid(); // this will set the guid on the header
137137

138-
if ( m_proxyModel->style() == PlayableProxyModel::Fancy )
139-
{
140-
setHorizontalScrollBarPolicy( Qt::ScrollBarAlwaysOff );
141-
}
142-
else
143-
{
144-
setHorizontalScrollBarPolicy( Qt::ScrollBarAsNeeded );
145-
}
138+
setHorizontalScrollBarPolicy( Qt::ScrollBarAsNeeded );
146139

147140
connect( model, SIGNAL( changed() ), this, SIGNAL( modelChanged() ) );
148141
emit modelChanged();

0 commit comments

Comments
 (0)