diff --git a/src/actions.cpp b/src/actions.cpp index e46a0a86..16496cdd 100644 --- a/src/actions.cpp +++ b/src/actions.cpp @@ -2213,7 +2213,7 @@ void SetSelectedItemsPriority::run() prio = fromString(wFooter->prompt()); boundsCheck(prio, 0u, 255u); } - myPlaylist->SetSelectedItemsPriority(prio); + myPlaylist->setSelectedItemsPriority(prio); } bool ToggleOutput::canBeRun() diff --git a/src/ncmpcpp.cpp b/src/ncmpcpp.cpp index a083bb01..111b3e82 100644 --- a/src/ncmpcpp.cpp +++ b/src/ncmpcpp.cpp @@ -234,7 +234,7 @@ int main(int argc, char **argv) } if (myScreen == myPlaylist) - myPlaylist->EnableHighlighting(); + myPlaylist->enableHighlighting(); } catch (MPD::ClientError &e) { diff --git a/src/playlist.cpp b/src/playlist.cpp index 78e26491..b0d991fc 100644 --- a/src/playlist.cpp +++ b/src/playlist.cpp @@ -197,7 +197,7 @@ MPD::Song Playlist::nowPlayingSong() return s; } -void Playlist::EnableHighlighting() +void Playlist::enableHighlighting() { w.setHighlighting(true); m_timer = Global::Timer; @@ -238,7 +238,7 @@ std::string Playlist::getTotalLength() return result.str(); } -void Playlist::SetSelectedItemsPriority(int prio) +void Playlist::setSelectedItemsPriority(int prio) { auto list = getSelectedOrCurrent(w.begin(), w.end(), w.current()); Mpd.StartCommandsList(); diff --git a/src/playlist.h b/src/playlist.h index fd1f7813..1733d9d2 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -61,11 +61,10 @@ struct Playlist: Screen, HasSongs, Searchable, Tabbable // private members MPD::Song nowPlayingSong(); - - void EnableHighlighting(); + void enableHighlighting(); - void SetSelectedItemsPriority(int prio); + void setSelectedItemsPriority(int prio); bool checkForSong(const MPD::Song &s); void registerSong(const MPD::Song &s); diff --git a/src/statusbar.cpp b/src/statusbar.cpp index 46f82405..9353606d 100644 --- a/src/statusbar.cpp +++ b/src/statusbar.cpp @@ -230,7 +230,7 @@ bool Statusbar::Helpers::FindImmediately::operator()(const char *s) m_w->setSearchConstraint(s); m_found = m_w->find(m_direction, Config.wrapped_search, false); if (myScreen == myPlaylist) - myPlaylist->EnableHighlighting(); + myPlaylist->enableHighlighting(); myScreen->refreshWindow(); m_s = s; }