lyrics: rename Lyrics::FetchAgain() to Lyrics::Refetch()

master
Andrzej Rybczak 16 years ago
parent d7f862ce86
commit 5dc439aa19
  1. 2
      src/lyrics.cpp
  2. 2
      src/lyrics.h
  3. 2
      src/ncmpcpp.cpp

@ -279,7 +279,7 @@ void Lyrics::Save(const std::string &lyrics)
} }
} }
void Lyrics::FetchAgain() void Lyrics::Refetch()
{ {
std::string path = Folder + "/" + locale_to_utf_cpy(itsSong.GetArtist()) + " - " + locale_to_utf_cpy(itsSong.GetTitle()) + ".txt"; std::string path = Folder + "/" + locale_to_utf_cpy(itsSong.GetArtist()) + " - " + locale_to_utf_cpy(itsSong.GetTitle()) + ".txt";
if (!remove(path.c_str())) if (!remove(path.c_str()))

@ -47,7 +47,7 @@ class Lyrics : public Screen<Scrollpad>
void Edit(); void Edit();
void Save(const std::string &lyrics); void Save(const std::string &lyrics);
void FetchAgain(); void Refetch();
static bool Reload; static bool Reload;

@ -2033,7 +2033,7 @@ int main(int argc, char *argv[])
} }
else if (myScreen == myLyrics) else if (myScreen == myLyrics)
{ {
myLyrics->FetchAgain(); myLyrics->Refetch();
} }
} }
else if (Keypressed(input, Key.SongInfo)) else if (Keypressed(input, Key.SongInfo))

Loading…
Cancel
Save