mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Make this compile on Qt 4.5
This commit is contained in:
parent
a5102a2b27
commit
9e47eb420a
@ -165,7 +165,7 @@ Song MagnatuneService::ReadTrack(QXmlStreamReader& reader) {
|
||||
break;
|
||||
|
||||
if (reader.tokenType() == QXmlStreamReader::StartElement) {
|
||||
QString value = reader.readElementText(QXmlStreamReader::SkipChildElements);
|
||||
QString value = reader.readElementText();
|
||||
if (reader.name() == "artist") song.set_artist(value);
|
||||
if (reader.name() == "albumname") song.set_album(value);
|
||||
if (reader.name() == "trackname") song.set_title(value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user