1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 01:09:42 +01:00

* Fixed incorrect PixmapDelegateFader connect()s.

This commit is contained in:
Christian Muehlhaeuser 2012-05-24 07:55:34 +02:00
parent 606fb9cae5
commit 3225407118

View File

@ -51,7 +51,7 @@ PixmapDelegateFader::PixmapDelegateFader( const artist_ptr& artist, const QSize&
{
if ( !m_artist.isNull() )
{
connect( m_artist.data(), SIGNAL( updated() ), SLOT( trackChanged() ) );
connect( m_artist.data(), SIGNAL( updated() ), SLOT( artistChanged() ) );
connect( m_artist.data(), SIGNAL( coverChanged() ), SLOT( artistChanged() ) );
m_currentReference = m_artist->cover( size, forceLoad );
}
@ -67,7 +67,7 @@ PixmapDelegateFader::PixmapDelegateFader( const album_ptr& album, const QSize& s
{
if ( !m_album.isNull() )
{
connect( m_album.data(), SIGNAL( updated() ), SLOT( trackChanged() ) );
connect( m_album.data(), SIGNAL( updated() ), SLOT( albumChanged() ) );
connect( m_album.data(), SIGNAL( coverChanged() ), SLOT( albumChanged() ) );
m_currentReference = m_album->cover( size, forceLoad );
}