1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

Dont sort ranked list

This commit is contained in:
Hugo Lindström 2011-10-10 13:38:01 +02:00
parent 9749df00d1
commit 0a570849c5

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