diff options
author | Lars Bisballe Jensen <larsbisballe@gmail.com> | 2014-10-21 11:04:49 +0200 |
---|---|---|
committer | Lars Bisballe Jensen <larsbisballe@gmail.com> | 2014-10-21 11:04:49 +0200 |
commit | 98a89a73d7834e83f09f1619d16a58f3ecf2d850 (patch) | |
tree | 2d1a78c1163219af8f53c9f8d0a181b372303951 /src/instrumentparser.cc | |
parent | c7af1c332447e5fb25f37d4738458a5d7106a6fc (diff) |
Added metadata strings to classes and began work on xml parser for drumkits
Diffstat (limited to 'src/instrumentparser.cc')
-rw-r--r-- | src/instrumentparser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/instrumentparser.cc b/src/instrumentparser.cc index 0889d74..8d097e9 100644 --- a/src/instrumentparser.cc +++ b/src/instrumentparser.cc @@ -52,8 +52,8 @@ void InstrumentParser::startTag(std::string name, std::map<std::string, std::string> attr) { if(name == "instrument") { - if(attr.find("name") != attr.end()) - instrument._name = attr["name"]; + if(attr.find("id") != attr.end()) + instrument._id = attr["id"]; if(attr.find("description") != attr.end()) instrument._description = attr["description"]; |