diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2017-03-12 13:19:21 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2017-03-12 13:19:21 +0100 |
commit | 809b1d5b590a66564e2a6441328da2502696251d (patch) | |
tree | fcc47d30d7819a0310fa5e75134e207ce787e3ba | |
parent | b0121227e9ddaafb16f155cc91ea188f167da93b (diff) |
Rename requestContentsUpdate to requestContentUpdate
-rw-r--r-- | src/screens/playlist_editor.cpp | 2 | ||||
-rw-r--r-- | src/screens/playlist_editor.h | 2 | ||||
-rw-r--r-- | src/status.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/playlist_editor.cpp b/src/screens/playlist_editor.cpp index a8c4d304..0063eff1 100644 --- a/src/screens/playlist_editor.cpp +++ b/src/screens/playlist_editor.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(); diff --git a/src/screens/playlist_editor.h b/src/screens/playlist_editor.h index dd7d742a..7bc7e3ef 100644 --- a/src/screens/playlist_editor.h +++ b/src/screens/playlist_editor.h @@ -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); diff --git a/src/status.cpp b/src/status.cpp index 761497dc..dfbfc007 100644 --- a/src/status.cpp +++ b/src/status.cpp @@ -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(); } |