mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 08:04:25 +02:00
* Fixed crash situation in AudioControls.
This commit is contained in:
@@ -277,7 +277,7 @@ void
|
|||||||
AudioControls::onSocialActionsLoaded()
|
AudioControls::onSocialActionsLoaded()
|
||||||
{
|
{
|
||||||
Query* query = qobject_cast< Query* >( sender() );
|
Query* query = qobject_cast< Query* >( sender() );
|
||||||
if ( !query || query != m_currentTrack->toQuery().data() )
|
if ( !query || !m_currentTrack || query != m_currentTrack->toQuery().data() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
setSocialActions();
|
setSocialActions();
|
||||||
|
Reference in New Issue
Block a user