mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-13 17:43:59 +02:00
* Fixed loading social actions in AudioControls.
This commit is contained in:
@@ -354,8 +354,8 @@ AudioControls::setCover()
|
|||||||
void
|
void
|
||||||
AudioControls::onSocialActionsLoaded()
|
AudioControls::onSocialActionsLoaded()
|
||||||
{
|
{
|
||||||
Query* query = qobject_cast< Query* >( sender() );
|
Track* track = qobject_cast< Track* >( sender() );
|
||||||
if ( !query || !m_currentTrack || !query->equals( m_currentTrack->toQuery() ) )
|
if ( !track || !m_currentTrack || !track->equals( m_currentTrack->track() ) )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
setSocialActions();
|
setSocialActions();
|
||||||
|
Reference in New Issue
Block a user