mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
* Remove debug output.
This commit is contained in:
@@ -781,7 +781,6 @@ PlaylistManager::playlistForInterface( PlaylistInterface* interface ) const
|
|||||||
{
|
{
|
||||||
foreach ( PlaylistView* view, m_playlistViews.values() )
|
foreach ( PlaylistView* view, m_playlistViews.values() )
|
||||||
{
|
{
|
||||||
qDebug() << "LAAAA:" << view;
|
|
||||||
if ( view->playlistInterface() == interface )
|
if ( view->playlistInterface() == interface )
|
||||||
{
|
{
|
||||||
return m_playlistViews.key( view );
|
return m_playlistViews.key( view );
|
||||||
|
@@ -298,15 +298,18 @@ SourceTreeView::deletePlaylist()
|
|||||||
playlist_ptr playlist = SourcesModel::indexToPlaylist( idx );
|
playlist_ptr playlist = SourcesModel::indexToPlaylist( idx );
|
||||||
if ( !playlist.isNull() )
|
if ( !playlist.isNull() )
|
||||||
{
|
{
|
||||||
qDebug() << "Playlist about to be deleted:" << playlist->title();
|
|
||||||
Playlist::remove( playlist );
|
Playlist::remove( playlist );
|
||||||
}
|
}
|
||||||
} else if( type == SourcesModel::DynamicPlaylistSource ) {
|
}
|
||||||
|
else if ( type == SourcesModel::DynamicPlaylistSource )
|
||||||
|
{
|
||||||
dynplaylist_ptr playlist = SourcesModel::indexToDynamicPlaylist( idx );
|
dynplaylist_ptr playlist = SourcesModel::indexToDynamicPlaylist( idx );
|
||||||
if( !playlist.isNull() )
|
if( !playlist.isNull() )
|
||||||
|
{
|
||||||
DynamicPlaylist::remove( playlist );
|
DynamicPlaylist::remove( playlist );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user