Index: utils/themeeditor/models/parsetreenode.cpp
===================================================================
--- utils/themeeditor/models/parsetreenode.cpp (revision 27815)
+++ utils/themeeditor/models/parsetreenode.cpp (working copy)
@@ -918,8 +918,7 @@
case 'p':
/* %Vp */
viewport->showPlaylist(info, element->params[0].data.number,
- element->params[1].data.code,
- element->params[2].data.code);
+ element->params[1].data.code);
return true;
case 'I':
Index: utils/themeeditor/graphics/rbviewport.cpp
===================================================================
--- utils/themeeditor/graphics/rbviewport.cpp (revision 27815)
+++ utils/themeeditor/graphics/rbviewport.cpp (working copy)
@@ -255,10 +255,9 @@
}
void RBViewport::showPlaylist(const RBRenderInfo &info, int start,
- skin_element *id3, skin_element *noId3)
+ skin_element *code)
{
- /* Determining whether ID3 info is available */
- skin_element* root = id3;
+ skin_element* root = code;
/* The line will be a linked list */
if(root->children_count > 0)
@@ -272,7 +271,6 @@
{
if(song == halfWay)
{
- root = noId3;
if(root->children_count > 0)
root = root->children[0];
}
Index: utils/themeeditor/graphics/rbviewport.h
===================================================================
--- utils/themeeditor/graphics/rbviewport.h (revision 27815)
+++ utils/themeeditor/graphics/rbviewport.h (working copy)
@@ -78,8 +78,7 @@
void enableStatusBar(){ showStatusBar = true; }
- void showPlaylist(const RBRenderInfo& info, int start, skin_element* id3,
- skin_element* noId3);
+ void showPlaylist(const RBRenderInfo& info, int start, skin_element* code);
void makeFullScreen();