summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-21 20:45:06 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-21 20:45:06 +0100
commit03fe8bf1bfb96a775a8e40529b50e9f69b311fc3 (patch)
tree6f7465090eaede29706d0d1949755fc5a6215cd6 /src/lib
parent2255aedd15f985796d2e6f7fcc7fb412a5d98812 (diff)
Various little tweaks.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/playlist.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc
index ad71f87d7..fc52abbac 100644
--- a/src/lib/playlist.cc
+++ b/src/lib/playlist.cc
@@ -137,8 +137,11 @@ Playlist::set_from_xml (shared_ptr<const cxml::Node> node)
} else if (type == "Sndfile") {
content.reset (new SndfileContent (*i));
}
+
+ _content.push_back (content);
}
+ reconnect ();
_loop = node->number_child<int> ("Loop");
}