Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 14th, 2010  |  syntax: None  |  size: 2.02 KB  |  views: 76  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Index: utils/themeeditor/models/parsetreenode.cpp
  2. ===================================================================
  3. --- utils/themeeditor/models/parsetreenode.cpp  (revision 27815)
  4. +++ utils/themeeditor/models/parsetreenode.cpp  (working copy)
  5. @@ -918,8 +918,7 @@
  6.          case 'p':
  7.              /* %Vp */
  8.              viewport->showPlaylist(info, element->params[0].data.number,
  9. -                                   element->params[1].data.code,
  10. -                                   element->params[2].data.code);
  11. +                                   element->params[1].data.code);
  12.              return true;
  13.  
  14.          case 'I':
  15. Index: utils/themeeditor/graphics/rbviewport.cpp
  16. ===================================================================
  17. --- utils/themeeditor/graphics/rbviewport.cpp   (revision 27815)
  18. +++ utils/themeeditor/graphics/rbviewport.cpp   (working copy)
  19. @@ -255,10 +255,9 @@
  20.  }
  21.  
  22.  void RBViewport::showPlaylist(const RBRenderInfo &info, int start,
  23. -                              skin_element *id3, skin_element *noId3)
  24. +                              skin_element *code)
  25.  {
  26. -    /* Determining whether ID3 info is available */
  27. -    skin_element* root = id3;
  28. +    skin_element* root = code;
  29.  
  30.      /* The line will be a linked list */
  31.      if(root->children_count > 0)
  32. @@ -272,7 +271,6 @@
  33.      {
  34.          if(song == halfWay)
  35.          {
  36. -            root = noId3;
  37.              if(root->children_count > 0)
  38.                  root = root->children[0];
  39.          }
  40. Index: utils/themeeditor/graphics/rbviewport.h
  41. ===================================================================
  42. --- utils/themeeditor/graphics/rbviewport.h     (revision 27815)
  43. +++ utils/themeeditor/graphics/rbviewport.h     (working copy)
  44. @@ -78,8 +78,7 @@
  45.  
  46.      void enableStatusBar(){ showStatusBar = true; }
  47.  
  48. -    void showPlaylist(const RBRenderInfo& info, int start, skin_element* id3,
  49. -                      skin_element* noId3);
  50. +    void showPlaylist(const RBRenderInfo& info, int start, skin_element* code);
  51.  
  52.      void makeFullScreen();
clone this paste RAW Paste Data