diff options
-rw-r--r-- | mg_selection.c | 4 | ||||
-rw-r--r-- | mg_selection.h | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/mg_selection.c b/mg_selection.c index e45f1b6..f0016e9 100644 --- a/mg_selection.c +++ b/mg_selection.c @@ -552,7 +552,6 @@ mgSelection::items () const void mgSelection::InitSelection() { - m_Directory="."; m_level = 0; m_position = 0; m_items_position = 0; @@ -632,7 +631,6 @@ mgSelection::InitFrom(mgValmap& nv) } InitSelection(); m_fall_through = nv.getbool("FallThrough"); - m_Directory = nv.getstr("Directory"); while (m_level < nv.getuint("Level")) { char *idx; @@ -659,7 +657,6 @@ void mgSelection::InitFrom(const mgSelection* s) { InitSelection(); m_fall_through = s->m_fall_through; - m_Directory = s->m_Directory; order = s->order; m_level = s->m_level; m_position = s->m_position; @@ -926,7 +923,6 @@ mgSelection::inCollection(const string Name) const void mgSelection::DumpState(mgValmap& nv) const { nv.put("FallThrough",m_fall_through); - nv.put("Directory",m_Directory); nv.put("Level",int(m_level)); for (unsigned int i=0;i<order.size();i++) { diff --git a/mg_selection.h b/mg_selection.h index 654594a..47bf7b6 100644 --- a/mg_selection.h +++ b/mg_selection.h @@ -355,12 +355,6 @@ class mgSelection return items ().size (); } -//! sets the directory for the storage of m3u file - void SetDirectory (const string directory) - { - m_Directory = directory; - } - /*! returns the name of the current play list. If no play list is active, * the name is built from the name of the key fields. */ |