mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
Sort TrackView in ascending order
This commit is contained in:
@@ -207,7 +207,7 @@ FlexibleTreeView::setFlatModel( PlayableModel* model )
|
|||||||
m_trackView->setPlayableModel( model );
|
m_trackView->setPlayableModel( model );
|
||||||
|
|
||||||
m_trackView->setSortingEnabled( true );
|
m_trackView->setSortingEnabled( true );
|
||||||
m_trackView->sortByColumn( 0 );
|
m_trackView->sortByColumn( 0, Qt::AscendingOrder );
|
||||||
|
|
||||||
/* connect( model, SIGNAL( changed() ), SLOT( onModelChanged() ), Qt::UniqueConnection );
|
/* connect( model, SIGNAL( changed() ), SLOT( onModelChanged() ), Qt::UniqueConnection );
|
||||||
onModelChanged();*/
|
onModelChanged();*/
|
||||||
|
Reference in New Issue
Block a user