tweak audio track importer to use the modified xml++ API for XPATH searching
git-svn-id: svn://localhost/ardour2/branches/3.0@11735 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8f4e126c72
commit
1c399d5ebc
@ -267,7 +267,7 @@ AudioTrackImporter::_move ()
|
|||||||
|
|
||||||
boost::shared_ptr<XMLSharedNodeList> ds_node_list;
|
boost::shared_ptr<XMLSharedNodeList> ds_node_list;
|
||||||
string xpath = "/Session/DiskStreams/AudioDiskstream[@id='" + old_ds_id.to_s() + "']";
|
string xpath = "/Session/DiskStreams/AudioDiskstream[@id='" + old_ds_id.to_s() + "']";
|
||||||
ds_node_list = source.root()->find (xpath);
|
ds_node_list = source.find (xpath);
|
||||||
|
|
||||||
if (ds_node_list->size() != 1) {
|
if (ds_node_list->size() != 1) {
|
||||||
error << string_compose (_("Error Importing Audio track %1"), name) << endmsg;
|
error << string_compose (_("Error Importing Audio track %1"), name) << endmsg;
|
||||||
|
Loading…
Reference in New Issue
Block a user