1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 08:19:42 +01: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
AlbumPlaylistInterface::setCurrentIndex( qint64 index )
{
Q_UNUSED( index );
Q_ASSERT( false );
/* m_currentTrack = index;
m_currentItem = m_queries.at( index )->results().first();*/
@ -64,6 +65,8 @@ AlbumPlaylistInterface::setCurrentIndex( qint64 index )
qint64
AlbumPlaylistInterface::siblingIndex( int itemsAway, qint64 rootIndex ) const
{
Q_UNUSED( itemsAway );
Q_UNUSED( rootIndex );
Q_ASSERT( false );
/*
@ -92,6 +95,7 @@ AlbumPlaylistInterface::currentItem() const
bool
AlbumPlaylistInterface::setCurrentTrack( unsigned int albumpos )
{
Q_UNUSED( albumpos );
Q_ASSERT( false );
return false;

View File

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

View File

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