Commit 61db100c authored by Soomin Lee's avatar Soomin Lee

Playlist: Add PlaylistModification notification on setName

parent f411f873
Pipeline #8928 failed with stage
in 27 minutes and 20 seconds
......@@ -95,6 +95,10 @@ bool Playlist::setName( const std::string& name )
if ( sqlite::Tools::executeUpdate( m_ml->getConn(), req, name, m_id ) == false )
return false;
m_name = name;
auto notifier = m_ml->getNotifier();
if ( notifier != nullptr )
notifier->notifyPlaylistModification( shared_from_this() );
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment