lyrics: rename Lyrics::FetchAgain() to Lyrics::Refetch()
This commit is contained in:
@@ -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";
|
||||
if (!remove(path.c_str()))
|
||||
|
||||
@@ -47,7 +47,7 @@ class Lyrics : public Screen<Scrollpad>
|
||||
|
||||
void Edit();
|
||||
void Save(const std::string &lyrics);
|
||||
void FetchAgain();
|
||||
void Refetch();
|
||||
|
||||
static bool Reload;
|
||||
|
||||
|
||||
@@ -2033,7 +2033,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
else if (myScreen == myLyrics)
|
||||
{
|
||||
myLyrics->FetchAgain();
|
||||
myLyrics->Refetch();
|
||||
}
|
||||
}
|
||||
else if (Keypressed(input, Key.SongInfo))
|
||||
|
||||
Reference in New Issue
Block a user