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:
parent
aef1dcec59
commit
9a1ed86d62
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user