mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Removed obsolete guid handling in PlaylistView.
This commit is contained in:
@@ -62,18 +62,6 @@ PlaylistView::setPlaylistModel( PlaylistModel* model )
|
||||
setColumnHidden( PlayableModel::Age, true ); // Hide age column per default
|
||||
setColumnHidden( PlayableModel::Composer, true ); // Hide composer column per default
|
||||
|
||||
if ( guid().isEmpty() && proxyModel()->columnCount() > 1 )
|
||||
{
|
||||
if ( !m_model->playlist().isNull() )
|
||||
{
|
||||
setGuid( QString( "playlistview/%1/%2" ).arg( proxyModel()->columnCount() ).arg( m_model->playlist()->guid() ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
setGuid( QString( "playlistview/%1" ).arg( proxyModel()->columnCount() ) );
|
||||
}
|
||||
}
|
||||
|
||||
connect( m_model, SIGNAL( playlistDeleted() ), SLOT( onDeleted() ) );
|
||||
connect( m_model, SIGNAL( playlistChanged() ), SLOT( onChanged() ) );
|
||||
|
||||
|
Reference in New Issue
Block a user