mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-13 20:39:57 +01:00
* Fixed crash situation in AudioControls.
This commit is contained in:
parent
ebbedb2b99
commit
a2bfd73d55
@ -277,7 +277,7 @@ void
|
||||
AudioControls::onSocialActionsLoaded()
|
||||
{
|
||||
Query* query = qobject_cast< Query* >( sender() );
|
||||
if ( !query || query != m_currentTrack->toQuery().data() )
|
||||
if ( !query || !m_currentTrack || query != m_currentTrack->toQuery().data() )
|
||||
return;
|
||||
|
||||
setSocialActions();
|
||||
|
Loading…
x
Reference in New Issue
Block a user