From 018f430ef46c5eb2aaa1634686d54ce281e124ad Mon Sep 17 00:00:00 2001 From: druid23 Date: Tue, 17 Aug 2010 02:25:12 +0100 Subject: [PATCH] Fixed playlist detection for international servers. modified: playlistmainwindow.cpp --- playlistmainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playlistmainwindow.cpp b/playlistmainwindow.cpp index 8ba4412..8b1729a 100644 --- a/playlistmainwindow.cpp +++ b/playlistmainwindow.cpp @@ -165,7 +165,8 @@ void PlayListMainWindow::parseXmlPlayList() { 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(); -- 1.7.9.5