mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 20:26:30 +01:00
change XML node names for cue markers to be capitalized
This commit is contained in:
parent
7cf9e3d89d
commit
d1ee033dd2
1 changed files with 4 additions and 3 deletions
|
|
@ -139,10 +139,10 @@ Source::get_state ()
|
|||
}
|
||||
|
||||
if (!_cue_markers.empty()) {
|
||||
XMLNode* cue_parent = new XMLNode (X_("cues"));
|
||||
XMLNode* cue_parent = new XMLNode (X_("Cues"));
|
||||
|
||||
for (CueMarkers::const_iterator c = _cue_markers.begin(); c != _cue_markers.end(); ++c) {
|
||||
XMLNode* cue_child = new XMLNode (X_("cue"));
|
||||
XMLNode* cue_child = new XMLNode (X_("Cue"));
|
||||
cue_child->set_property ("text", c->text());
|
||||
cue_child->set_property ("position", c->position());
|
||||
cue_parent->add_child_nocopy (*cue_child);
|
||||
|
|
@ -213,12 +213,13 @@ Source::set_state (const XMLNode& node, int version)
|
|||
_xruns.push_back (x);
|
||||
}
|
||||
|
||||
} else if ((*niter)->name() == X_("cues")) {
|
||||
} else if ((*niter)->name() == X_("Cues")) {
|
||||
|
||||
_cue_markers.clear ();
|
||||
|
||||
const XMLNode& cues (*(*niter));
|
||||
const XMLNodeList cuelist = cues.children();
|
||||
|
||||
for (XMLNodeConstIterator citer = cuelist.begin(); citer != cuelist.end(); ++citer) {
|
||||
string text;
|
||||
samplepos_t position;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue