playlist editor: rename private members
This commit is contained in:
@@ -125,9 +125,9 @@ void PlaylistEditor::switchTo()
|
||||
|
||||
void PlaylistEditor::update()
|
||||
{
|
||||
if (Playlists.reallyEmpty() || playlistsUpdateRequested)
|
||||
if (Playlists.reallyEmpty() || m_playlists_update_requested)
|
||||
{
|
||||
playlistsUpdateRequested = false;
|
||||
m_playlists_update_requested = false;
|
||||
Playlists.clearSearchResults();
|
||||
withUnfilteredMenuReapplyFilter(Playlists, [this]() {
|
||||
size_t idx = 0;
|
||||
@@ -146,9 +146,9 @@ void PlaylistEditor::update()
|
||||
Playlists.refresh();
|
||||
}
|
||||
|
||||
if (!Playlists.empty() && (Content.reallyEmpty() || contentUpdateRequested))
|
||||
if (!Playlists.empty() && (Content.reallyEmpty() || m_content_update_requested))
|
||||
{
|
||||
contentUpdateRequested = false;
|
||||
m_content_update_requested = false;
|
||||
Content.clearSearchResults();
|
||||
withUnfilteredMenuReapplyFilter(Content, [this]() {
|
||||
size_t idx = 0;
|
||||
|
||||
@@ -69,8 +69,8 @@ struct PlaylistEditor: Screen<NC::Window *>, Filterable, HasColumns, HasSongs, S
|
||||
virtual void nextColumn() OVERRIDE;
|
||||
|
||||
// private members
|
||||
void requestPlaylistsUpdate() { playlistsUpdateRequested = true; }
|
||||
void requestContentsUpdate() { contentUpdateRequested = true; }
|
||||
void requestPlaylistsUpdate() { m_playlists_update_requested = true; }
|
||||
void requestContentsUpdate() { m_content_update_requested = true; }
|
||||
|
||||
virtual void Locate(const std::string &);
|
||||
bool isContentFiltered();
|
||||
@@ -85,8 +85,8 @@ protected:
|
||||
private:
|
||||
void AddToPlaylist(bool);
|
||||
|
||||
bool playlistsUpdateRequested;
|
||||
bool contentUpdateRequested;
|
||||
bool m_playlists_update_requested;
|
||||
bool m_content_update_requested;
|
||||
};
|
||||
|
||||
extern PlaylistEditor *myPlaylistEditor;
|
||||
|
||||
Reference in New Issue
Block a user