mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
* Make TrackData (re)parse SocialActions after setting a new one.
This commit is contained in:
@@ -40,6 +40,10 @@ DatabaseCommand_SocialAction::postCommitHook()
|
|||||||
Servent::instance()->triggerDBSync();
|
Servent::instance()->triggerDBSync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
trackdata_ptr trackData = TrackData::get( 0, m_artist, m_title );
|
||||||
|
if ( trackData )
|
||||||
|
trackData->loadSocialActions( true );
|
||||||
|
|
||||||
source()->reportSocialAttributesChanged( this );
|
source()->reportSocialAttributesChanged( this );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user