Rename requestContentsUpdate to requestContentUpdate
This commit is contained in:
@@ -511,7 +511,7 @@ void PlaylistEditor::locateSong(const MPD::Song &s)
|
||||
Playlists.highlight(it - Playlists.beginV());
|
||||
Playlists.refresh();
|
||||
|
||||
requestContentsUpdate();
|
||||
requestContentUpdate();
|
||||
update();
|
||||
Content.highlight(*song_index);
|
||||
nextColumn();
|
||||
|
||||
@@ -76,7 +76,7 @@ struct PlaylistEditor: Screen<NC::Window *>, Filterable, HasColumns, HasSongs, S
|
||||
void updateTimer();
|
||||
|
||||
void requestPlaylistsUpdate() { m_playlists_update_requested = true; }
|
||||
void requestContentsUpdate() { m_content_update_requested = true; }
|
||||
void requestContentUpdate() { m_content_update_requested = true; }
|
||||
|
||||
void locatePlaylist(const MPD::Playlist &playlist);
|
||||
void locateSong(const MPD::Song &s);
|
||||
|
||||
@@ -444,7 +444,7 @@ void Status::Changes::playlist(unsigned previous_version)
|
||||
void Status::Changes::storedPlaylists()
|
||||
{
|
||||
myPlaylistEditor->requestPlaylistsUpdate();
|
||||
myPlaylistEditor->requestContentsUpdate();
|
||||
myPlaylistEditor->requestContentUpdate();
|
||||
if (!myBrowser->isLocal() && myBrowser->inRootDirectory())
|
||||
myBrowser->requestUpdate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user