summaryrefslogtreecommitdiffstats
path: root/src/gui/GraphCanvas.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-03-26 20:04:59 +0200
committerDavid Robillard <d@drobilla.net>2017-03-26 20:04:59 +0200
commit5df29e8cc91115098dcb09978722c76b71689fa3 (patch)
tree12d807052d9ab41fe6ebc547c5556b492f0c8e97 /src/gui/GraphCanvas.cpp
parentff5fb176daad42b2727b02885f9a4407b694ba52 (diff)
downloadingen-5df29e8cc91115098dcb09978722c76b71689fa3.tar.gz
ingen-5df29e8cc91115098dcb09978722c76b71689fa3.tar.bz2
ingen-5df29e8cc91115098dcb09978722c76b71689fa3.zip
Remove Node::path() and Node::symbol()
Diffstat (limited to 'src/gui/GraphCanvas.cpp')
-rw-r--r--src/gui/GraphCanvas.cpp5
1 files changed, 3 insertions, 2 deletions
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> 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)}};