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:
@@ -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() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user