1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 00:24:12 +02:00

* Per default, add the Mixed album info to a playlist.

This commit is contained in:
Christian Muehlhaeuser
2012-05-18 12:10:34 +02:00
parent fe58726b69
commit 3e9e37fdc9

View File

@@ -138,7 +138,7 @@ PlaylistModel::append( const Tomahawk::album_ptr& album )
if ( album.isNull() ) if ( album.isNull() )
return; return;
connect( album.data(), SIGNAL( tracksAdded( QList<Tomahawk::query_ptr> ) ), connect( album.data(), SIGNAL( tracksAdded( QList<Tomahawk::query_ptr>, Tomahawk::ModelMode, Tomahawk::collection_ptr ) ),
SLOT( append( QList<Tomahawk::query_ptr> ) ) ); SLOT( append( QList<Tomahawk::query_ptr> ) ) );
if ( rowCount( QModelIndex() ) == 0 ) if ( rowCount( QModelIndex() ) == 0 )
@@ -148,7 +148,7 @@ PlaylistModel::append( const Tomahawk::album_ptr& album )
m_isTemporary = true; m_isTemporary = true;
} }
append( album->playlistInterface()->tracks() ); append( album->playlistInterface( Mixed )->tracks() );
} }