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

This commit is contained in:
Andrzej Rybczak
2010-08-10 00:34:54 +02:00
parent d7f862ce86
commit 5dc439aa19
3 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -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;

View File

@@ -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))