summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/sequence_property.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-03-02 01:05:14 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-03-02 01:05:14 +0000
commita5ab2e99e19d5f5d4c1f91f38cd774fefdf257dc (patch)
treed4741f329eea4d523afe3f020e59c9b6983932a7 /libs/pbd/pbd/sequence_property.h
parentdb8b575c30845bafc34b87bacd52129c95d1c478 (diff)
PBD::capitalize() and use it to for the XML node name of a SequenceProperty's history node
git-svn-id: svn://localhost/ardour2/branches/3.0@6719 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/sequence_property.h')
-rw-r--r--libs/pbd/pbd/sequence_property.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/pbd/sequence_property.h b/libs/pbd/pbd/sequence_property.h
index 887250ab82..c2ad939b7c 100644
--- a/libs/pbd/pbd/sequence_property.h
+++ b/libs/pbd/pbd/sequence_property.h
@@ -8,6 +8,7 @@
#include <boost/function.hpp>
+#include "pbd/convert.h"
#include "pbd/id.h"
#include "pbd/property_basics.h"
@@ -44,8 +45,7 @@ class SequenceProperty : public PropertyBase
void add_history_state (XMLNode* history_node) const {
- /* XXX need to capitalize property name */
- XMLNode* child = new XMLNode (property_name());
+ XMLNode* child = new XMLNode (PBD::capitalize (property_name()));
history_node->add_child_nocopy (*child);
/* record the change described in our change member */