mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
* RelatedArtistsContext uses new TreeModel API.
This commit is contained in:
parent
713b076929
commit
16736a2afd
@ -35,7 +35,7 @@ RelatedArtistsContext::RelatedArtistsContext()
|
||||
m_relatedView->setGuid( "RelatedArtistsContext" );
|
||||
m_relatedView->setUpdatesContextView( false );
|
||||
m_relatedModel = new TreeModel( m_relatedView );
|
||||
m_relatedModel->setColumnStyle( TreeModel::TrackOnly );
|
||||
m_relatedModel->setStyle( TreeModel::Large );
|
||||
m_relatedView->setTreeModel( m_relatedModel );
|
||||
m_relatedView->setVerticalScrollBarPolicy( Qt::ScrollBarAlwaysOff );
|
||||
m_relatedView->setSortingEnabled( false );
|
||||
|
Loading…
x
Reference in New Issue
Block a user