1
0
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:
Christian Muehlhaeuser
2014-09-01 02:32:19 +02:00
parent 51401e3112
commit bc87d1c002

View File

@@ -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 > ) ),