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:
@@ -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 );
|
||||
|
@@ -132,7 +132,7 @@ SourceTreeView::setupMenus()
|
||||
if ( type == SourcesModel::PlaylistSource || type == SourcesModel::DynamicPlaylistSource )
|
||||
{
|
||||
playlist_ptr playlist = SourcesModel::indexToDynamicPlaylist( m_contextMenuIndex );
|
||||
if( playlist.isNull() )
|
||||
if ( playlist.isNull() )
|
||||
{
|
||||
playlist = SourcesModel::indexToPlaylist( m_contextMenuIndex );
|
||||
}
|
||||
@@ -298,13 +298,16 @@ 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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user