Replace use of QStringRef

This commit is contained in:
Jonas Kvinge
2020-08-21 22:39:01 +02:00
parent f645099a39
commit 1291dadbd6
5 changed files with 31 additions and 27 deletions

View File

@@ -109,7 +109,7 @@ void ChartLyricsProvider::HandleSearchReply(QNetworkReply *reply, const quint64
while (!reader.atEnd()) {
QXmlStreamReader::TokenType type = reader.readNext();
QStringRef name = reader.name();
QString name = reader.name().toString();
if (type == QXmlStreamReader::StartElement) {
if (name == "GetLyricResult") {
result = LyricsSearchResult();