1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

* Warnings--

This commit is contained in:
Christian Muehlhaeuser
2012-11-28 11:33:06 +01:00
parent e248a56f05
commit a329eb4940
3 changed files with 9 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ AlbumPlaylistInterface::~AlbumPlaylistInterface()
void void
AlbumPlaylistInterface::setCurrentIndex( qint64 index ) AlbumPlaylistInterface::setCurrentIndex( qint64 index )
{ {
Q_UNUSED( index );
Q_ASSERT( false ); Q_ASSERT( false );
/* m_currentTrack = index; /* m_currentTrack = index;
m_currentItem = m_queries.at( index )->results().first();*/ m_currentItem = m_queries.at( index )->results().first();*/
@@ -64,6 +65,8 @@ AlbumPlaylistInterface::setCurrentIndex( qint64 index )
qint64 qint64
AlbumPlaylistInterface::siblingIndex( int itemsAway, qint64 rootIndex ) const AlbumPlaylistInterface::siblingIndex( int itemsAway, qint64 rootIndex ) const
{ {
Q_UNUSED( itemsAway );
Q_UNUSED( rootIndex );
Q_ASSERT( false ); Q_ASSERT( false );
/* /*
@@ -92,6 +95,7 @@ AlbumPlaylistInterface::currentItem() const
bool bool
AlbumPlaylistInterface::setCurrentTrack( unsigned int albumpos ) AlbumPlaylistInterface::setCurrentTrack( unsigned int albumpos )
{ {
Q_UNUSED( albumpos );
Q_ASSERT( false ); Q_ASSERT( false );
return false; return false;

View File

@@ -54,6 +54,7 @@ ArtistPlaylistInterface::~ArtistPlaylistInterface()
void void
ArtistPlaylistInterface::setCurrentIndex( qint64 index ) ArtistPlaylistInterface::setCurrentIndex( qint64 index )
{ {
Q_UNUSED( index );
Q_ASSERT( false ); Q_ASSERT( false );
/* m_currentTrack = index; /* m_currentTrack = index;
@@ -64,6 +65,8 @@ ArtistPlaylistInterface::setCurrentIndex( qint64 index )
qint64 qint64
ArtistPlaylistInterface::siblingIndex( int itemsAway, qint64 rootIndex ) const ArtistPlaylistInterface::siblingIndex( int itemsAway, qint64 rootIndex ) const
{ {
Q_UNUSED( itemsAway );
Q_UNUSED( rootIndex );
Q_ASSERT( false ); Q_ASSERT( false );
/* qint64 p = m_currentTrack; /* qint64 p = m_currentTrack;

View File

@@ -861,6 +861,8 @@ PlayableModel::setIcon( const QPixmap& pixmap )
void void
PlayableModel::onQueryBecamePlayable( bool playable ) PlayableModel::onQueryBecamePlayable( bool playable )
{ {
Q_UNUSED( playable );
Tomahawk::Query* q = qobject_cast< Query* >( sender() ); Tomahawk::Query* q = qobject_cast< Query* >( sender() );
if ( !q ) if ( !q )
{ {