mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Don't load social actions twice.
This commit is contained in:
@@ -601,6 +601,9 @@ Query::playbackCount( const source_ptr& source )
|
|||||||
void
|
void
|
||||||
Query::loadSocialActions()
|
Query::loadSocialActions()
|
||||||
{
|
{
|
||||||
|
if ( m_socialActionsLoaded )
|
||||||
|
return;
|
||||||
|
|
||||||
m_socialActionsLoaded = true;
|
m_socialActionsLoaded = true;
|
||||||
query_ptr q = m_ownRef.toStrongRef();
|
query_ptr q = m_ownRef.toStrongRef();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user