From 5df29e8cc91115098dcb09978722c76b71689fa3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 26 Mar 2017 20:04:59 +0200 Subject: Remove Node::path() and Node::symbol() --- src/gui/GraphCanvas.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp index fa5ed149..73253ae0 100644 --- a/src/gui/GraphCanvas.cpp +++ b/src/gui/GraphCanvas.cpp @@ -730,9 +730,10 @@ GraphCanvas::paste() } const SPtr node = c.second; - const Raul::Path& old_path = copy_root.child(node->path()); + const Raul::Path& old_path = copy_root.child(uri_to_path(node->uri())); const Raul::URI& old_uri = path_to_uri(old_path); - const Raul::Path& new_path = avoider.map_path(parent.child(node->path())); + const Raul::Path& new_path = avoider.map_path( + parent.child(uri_to_path(node->uri()))); Properties props{{uris.lv2_prototype, _app.forge().make_urid(old_uri)}}; -- cgit v1.2.1