1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-30 09:10:53 +02:00

* Hide the origin column in the default flat collection view.

This commit is contained in:
Christian Muehlhaeuser
2011-07-11 03:05:14 +02:00
parent 3ad6826779
commit a6944c49ae

View File

@@ -60,7 +60,10 @@ void
CollectionView::setTrackModel( TrackModel* 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() ) );
setSortingEnabled( true );