MusixmatchCoverProvider: Add const

This commit is contained in:
Jonas Kvinge 2023-07-21 07:16:32 +02:00
parent c71ce41c83
commit 38b9c7c38a
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,8 @@ void MusixmatchCoverProvider::HandleSearchReply(QNetworkReply *reply, const int
return;
}
QString content = data;
QString data_begin = "var __mxmState = ";
QString data_end = ";</script>";
const QString data_begin = "var __mxmState = ";
const QString data_end = ";</script>";
qint64 begin_idx = content.indexOf(data_begin);
QString content_json;
if (begin_idx > 0) {