Replace use of QStringRef
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user