mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-25 02:09:48 +01:00
use setTrackModel, as CollectionView::setModel() suggests.
Fixes assertion when selecting a collection.
This commit is contained in:
parent
9d28c11089
commit
9b5be063bd
@ -269,7 +269,7 @@ PlaylistManager::show( const Tomahawk::collection_ptr& collection )
|
||||
{
|
||||
view = new CollectionView();
|
||||
CollectionFlatModel* model = new CollectionFlatModel();
|
||||
view->setModel( model );
|
||||
view->setTrackModel( model );
|
||||
view->setFrameShape( QFrame::NoFrame );
|
||||
view->setAttribute( Qt::WA_MacShowFocusRect, 0 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user