MusixmatchCoverProvider: Add const
This commit is contained in:
parent
c71ce41c83
commit
38b9c7c38a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue