1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

* Remove debug output.

This commit is contained in:
Christian Muehlhaeuser
2011-04-06 08:19:10 +02:00
parent 51a3eb39be
commit d5f21dc9f2
2 changed files with 19 additions and 17 deletions

View File

@@ -781,7 +781,6 @@ PlaylistManager::playlistForInterface( PlaylistInterface* interface ) const
{
foreach ( PlaylistView* view, m_playlistViews.values() )
{
qDebug() << "LAAAA:" << view;
if ( view->playlistInterface() == interface )
{
return m_playlistViews.key( view );

View File

@@ -298,15 +298,18 @@ SourceTreeView::deletePlaylist()
playlist_ptr playlist = SourcesModel::indexToPlaylist( idx );
if ( !playlist.isNull() )
{
qDebug() << "Playlist about to be deleted:" << playlist->title();
Playlist::remove( playlist );
}
} else if( type == SourcesModel::DynamicPlaylistSource ) {
}
else if ( type == SourcesModel::DynamicPlaylistSource )
{
dynplaylist_ptr playlist = SourcesModel::indexToDynamicPlaylist( idx );
if( !playlist.isNull() )
{
DynamicPlaylist::remove( playlist );
}
}
}
void