1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-14 13:01:53 +02:00

* Fixed loading social actions in AudioControls.

This commit is contained in:
Christian Muehlhaeuser 2013-04-26 05:18:47 +02:00
parent aef1dcec59
commit 9a1ed86d62

View File

@ -354,8 +354,8 @@ AudioControls::setCover()
void
AudioControls::onSocialActionsLoaded()
{
Query* query = qobject_cast< Query* >( sender() );
if ( !query || !m_currentTrack || !query->equals( m_currentTrack->toQuery() ) )
Track* track = qobject_cast< Track* >( sender() );
if ( !track || !m_currentTrack || !track->equals( m_currentTrack->track() ) )
return;
setSocialActions();