From 3dc90cc95df35e5c786857336f22856c6373b00f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Aug 2008 23:30:21 +0000 Subject: Clooser... git-svn-id: http://svn.drobilla.net/lad/ingen@1408 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/ClientStore.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/libs/client/ClientStore.cpp') diff --git a/src/libs/client/ClientStore.cpp b/src/libs/client/ClientStore.cpp index 3c7f17aa..d0cb5906 100644 --- a/src/libs/client/ClientStore.cpp +++ b/src/libs/client/ClientStore.cpp @@ -418,16 +418,14 @@ ClientStore::new_patch_event(const Path& path, uint32_t poly) void -ClientStore::new_node_event(const string& plugin_uri, const Path& node_path, bool is_polyphonic, uint32_t num_ports) +ClientStore::new_node_event(const Path& path, const string& plugin_uri, bool polyphonic) { - // FIXME: num_ports unused - SharedPtr plug = plugin(plugin_uri); if (!plug) { - SharedPtr n(new NodeModel(plugin_uri, node_path, is_polyphonic)); + SharedPtr n(new NodeModel(plugin_uri, path, polyphonic)); add_plugin_orphan(n); } else { - SharedPtr n(new NodeModel(plug, node_path, is_polyphonic)); + SharedPtr n(new NodeModel(plug, path, polyphonic)); add_object(n); } } -- cgit v1.2.1