1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 16:29:43 +01: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
commit a7d30582a6

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 );