modified: playlistmainwindow.cpp
for (int idx = 0; idx < ct; ++idx) {
QDomNode node = nodes.at(idx);
QString name = node.attributes().namedItem("name").nodeValue();
for (int idx = 0; idx < ct; ++idx) {
QDomNode node = nodes.at(idx);
QString name = node.attributes().namedItem("name").nodeValue();
- if (0 == QString::compare("Playlist", name)) {
+ int id = node.attributes().namedItem("id").nodeValue().toInt();
+ if (3 == id) {
// got the main playlist, let's build it up
if (node.hasChildNodes()) {
QDomNodeList leafs = node.childNodes();
// got the main playlist, let's build it up
if (node.hasChildNodes()) {
QDomNodeList leafs = node.childNodes();