HtmlLyricsProvider: Rename GetUrl to Url

This commit is contained in:
Jonas Kvinge
2023-09-20 17:39:44 +02:00
parent 60fb83d770
commit da19272eb6
6 changed files with 14 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ const char AzLyricsComLyricsProvider::kLyricsStart[] = "<!-- Usage of azlyrics.c
AzLyricsComLyricsProvider::AzLyricsComLyricsProvider(SharedPtr<NetworkAccessManager> network, QObject *parent)
: HtmlLyricsProvider("azlyrics.com", true, kStartTag, kEndTag, kLyricsStart, false, network, parent) {}
QUrl AzLyricsComLyricsProvider::GetUrl(const LyricsSearchRequest &request) {
QUrl AzLyricsComLyricsProvider::Url(const LyricsSearchRequest &request) {
return QUrl(kUrl + StringFixup(request.artist) + "/" + StringFixup(request.title) + ".html");