1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-10-05 01:52:28 +02:00

Set source model on proxy model

This commit is contained in:
Leo Franchi
2012-07-09 09:32:00 -04:00
parent be2847740e
commit f8d364af0f
3 changed files with 30 additions and 18 deletions

View File

@@ -266,7 +266,9 @@ TomahawkWindow::setupSideBar()
m_sourcetree = new SourceTreeView( this );
JobStatusView* jobsView = new JobStatusView( m_sidebar );
JobStatusModel* sourceModel = new JobStatusModel( jobsView );
m_jobsModel = new JobStatusSortModel( jobsView );
m_jobsModel->setJobModel( sourceModel );
jobsView->setModel( m_jobsModel );
m_queueView = new QueueView( m_sidebar );