1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02:00

Merge pull request #44 from hugolm84/charts

Dont sort ranked list
This commit is contained in:
Hugo Lindström
2011-10-10 04:39:01 -07:00

View File

@@ -77,6 +77,9 @@ WhatsHotWidget::WhatsHotWidget( QWidget* parent )
m_albumsModel = new AlbumModel( ui->additionsView );
ui->additionsView->setAlbumModel( m_albumsModel );
/// Disable sorting, its a ranked list!
ui->additionsView->proxyModel()->sort( -1 );
m_tracksModel = new PlaylistModel( ui->tracksViewLeft );
m_tracksModel->setStyle( TrackModel::ShortWithAvatars );