Un-break cache!

This commit is contained in:
craig.p.drummond
2014-06-16 19:22:11 +00:00
parent 23942fc10d
commit 9a35f3dfbb

View File

@@ -499,10 +499,7 @@ quint32 MusicLibraryItemRoot::fromXML(QXmlStreamReader &reader, const QDateTime
song.album=attributes.value(constNameAttribute).toString();
song.year=attributes.value(constYearAttribute).toString().toUInt();
song.genre=attributes.value(constGenreAttribute).toString();
QString mb=attributes.value(constMbIdAttribute).toString();
if (!mb.isEmpty()) {
song.setMbAlbumId(mb);
}
song.setMbAlbumId(attributes.value(constMbIdAttribute).toString());
if (!song.file.isEmpty()) {
song.file.append("dummy.mp3");
}
@@ -601,7 +598,7 @@ quint32 MusicLibraryItemRoot::fromXML(QXmlStreamReader &reader, const QDateTime
}
}
song.time=song.track=0;
song.clearExtra();
song.setComposer(QString());
}
}
}