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:
parent
606fb9cae5
commit
3225407118
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user