projects
/
vlc-remote
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1838d48
)
Fixed playlist detection for international servers.
author
druid23
<usr@dru-id.co.uk>
Tue, 17 Aug 2010 01:25:12 +0000
(
02:25
+0100)
committer
druid23
<usr@dru-id.co.uk>
Tue, 17 Aug 2010 01:25:12 +0000
(
02:25
+0100)
modified: playlistmainwindow.cpp
playlistmainwindow.cpp
patch
|
blob
|
history
diff --git
a/playlistmainwindow.cpp
b/playlistmainwindow.cpp
index
8ba4412
..
8b1729a
100644
(file)
--- 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();