1
0
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:
Christian Muehlhaeuser
2012-07-03 02:49:49 +02:00
parent 6a23954539
commit b8cc0ddbcd

View File

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