diff options
author | Timothy Pearson <[email protected]> | 2013-02-09 01:14:08 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-09 01:14:08 -0600 |
commit | 2ee958315a0b3aa89b88829b52ca65aa948896a6 (patch) | |
tree | 617cbc2cd87116eb0f6a6674f43bdfef001ca113 | |
parent | ba30b44ed08ac50814e893a3ad267bc27ad85fd7 (diff) | |
download | kmplayer-2ee958315a0b3aa89b88829b52ca65aa948896a6.tar.gz kmplayer-2ee958315a0b3aa89b88829b52ca65aa948896a6.zip |
Fix unintended rename of track
-rw-r--r-- | src/kmplayer_xspf.cpp | 6 | ||||
-rw-r--r-- | src/kmplayer_xspf.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/kmplayer_xspf.cpp b/src/kmplayer_xspf.cpp index 240681c..c8c4470 100644 --- a/src/kmplayer_xspf.cpp +++ b/src/kmplayer_xspf.cpp @@ -27,8 +27,8 @@ using namespace KMPlayer; KDE_NO_EXPORT NodePtr XSPF::Playlist::childFromTag (const TQString & tag) { const char * name = tag.latin1 (); - if (!strcasecmp (name, "tractdelist")) - return new Tractdelist (m_doc); + if (!strcasecmp (name, "tracklist")) + return new Tracklist (m_doc); else if (!strcasecmp (name, "creator")) return new DarkNode (m_doc, name, id_node_creator); else if (!strcasecmp (name, "title")) @@ -69,7 +69,7 @@ KDE_NO_EXPORT void XSPF::Playlist::closed () { //----------------------------------------------------------------------------- -KDE_NO_EXPORT NodePtr XSPF::Tractdelist::childFromTag (const TQString & tag) { +KDE_NO_EXPORT NodePtr XSPF::Tracklist::childFromTag (const TQString & tag) { const char * name = tag.latin1 (); if (!strcasecmp (name, "track")) return new XSPF::Track (m_doc); diff --git a/src/kmplayer_xspf.h b/src/kmplayer_xspf.h index f67b170..47cf745 100644 --- a/src/kmplayer_xspf.h +++ b/src/kmplayer_xspf.h @@ -42,7 +42,7 @@ const short id_node_license = 509; const short id_node_attribution = 510; const short id_node_meta = 511; const short id_node_extension = 512; -const short id_node_tractdelist = 513; +const short id_node_tracklist = 513; const short id_node_track = 514; const short id_node_album = 515; const short id_node_tracknum = 516; @@ -58,11 +58,11 @@ public: void closed (); }; -class KMPLAYER_NO_EXPORT Tractdelist : public Element { +class KMPLAYER_NO_EXPORT Tracklist : public Element { public: - KDE_NO_CDTOR_EXPORT Tractdelist (NodePtr & d) : Element (d, id_node_tractdelist) {} + KDE_NO_CDTOR_EXPORT Tracklist (NodePtr & d) : Element (d, id_node_tracklist) {} NodePtr childFromTag (const TQString & tag); - KDE_NO_EXPORT const char * nodeName () const { return "tractdelist"; } + KDE_NO_EXPORT const char * nodeName () const { return "tracklist"; } bool expose () const { return false; } }; |