1
0
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:
Christian Muehlhaeuser
2013-04-26 05:18:47 +02:00
parent aef1dcec59
commit 9a1ed86d62

View File

@@ -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();