mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-21 21:25:52 +02:00
* Fixed compiler warnings in PlayableModel.
This commit is contained in:
@@ -1089,7 +1089,7 @@ PlayableModel::insertAlbums( const QList< Tomahawk::album_ptr >& albums, int row
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
PlayableModel::insertAlbums( const Tomahawk::collection_ptr& collection, int row )
|
PlayableModel::insertAlbums( const Tomahawk::collection_ptr& collection, int /* row */ )
|
||||||
{
|
{
|
||||||
Tomahawk::AlbumsRequest* req = collection->requestAlbums( Tomahawk::artist_ptr() );
|
Tomahawk::AlbumsRequest* req = collection->requestAlbums( Tomahawk::artist_ptr() );
|
||||||
connect( dynamic_cast< QObject* >( req ), SIGNAL( albums( QList< Tomahawk::album_ptr > ) ),
|
connect( dynamic_cast< QObject* >( req ), SIGNAL( albums( QList< Tomahawk::album_ptr > ) ),
|
||||||
@@ -1106,7 +1106,7 @@ PlayableModel::insertQueries( const QList< Tomahawk::query_ptr >& queries, int r
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
PlayableModel::insertTracks( const Tomahawk::collection_ptr& collection, int row )
|
PlayableModel::insertTracks( const Tomahawk::collection_ptr& collection, int /* row */ )
|
||||||
{
|
{
|
||||||
Tomahawk::TracksRequest* req = collection->requestTracks( Tomahawk::album_ptr() );
|
Tomahawk::TracksRequest* req = collection->requestTracks( Tomahawk::album_ptr() );
|
||||||
connect( dynamic_cast< QObject* >( req ), SIGNAL( tracks( QList< Tomahawk::query_ptr > ) ),
|
connect( dynamic_cast< QObject* >( req ), SIGNAL( tracks( QList< Tomahawk::query_ptr > ) ),
|
||||||
|
Reference in New Issue
Block a user