Rename requestContentsUpdate to requestContentUpdate

master
Andrzej Rybczak 9 years ago
parent b0121227e9
commit 809b1d5b59
  1. 2
      src/screens/playlist_editor.cpp
  2. 2
      src/screens/playlist_editor.h
  3. 2
      src/status.cpp

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

Loading…
Cancel
Save