mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-31 01:30:02 +02:00
* Hide the origin column in the default flat collection view.
This commit is contained in:
@@ -60,7 +60,10 @@ void
|
|||||||
CollectionView::setTrackModel( TrackModel* model )
|
CollectionView::setTrackModel( TrackModel* model )
|
||||||
{
|
{
|
||||||
TrackView::setTrackModel( model );
|
TrackView::setTrackModel( model );
|
||||||
setColumnHidden( TrackModel::Score, true ); // Hide age column per default
|
|
||||||
|
setColumnHidden( TrackModel::Score, true ); // Hide score column per default
|
||||||
|
setColumnHidden( TrackModel::Origin, true ); // Hide origin column per default
|
||||||
|
|
||||||
setGuid( QString( "collectionview/%1" ).arg( model->columnCount() ) );
|
setGuid( QString( "collectionview/%1" ).arg( model->columnCount() ) );
|
||||||
|
|
||||||
setSortingEnabled( true );
|
setSortingEnabled( true );
|
||||||
|
Reference in New Issue
Block a user