diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/ClientStore.cpp | 3 | ||||
-rw-r--r-- | src/client/GraphModel.cpp | 8 | ||||
-rw-r--r-- | src/client/ObjectModel.cpp | 1 | ||||
-rw-r--r-- | src/client/ingen_client.cpp | 1 |
4 files changed, 5 insertions, 8 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index f5c99e38..d3438f46 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -296,7 +296,7 @@ ClientStore::put(const Raul::URI& uri, } else { _log.error(fmt("Port %1% has no index\n") % path); } - + SPtr<PortModel> p(new PortModel(uris(), path, index, pdir)); p->set_properties(properties); add_object(p); @@ -479,4 +479,3 @@ ClientStore::disconnect_all(const Raul::Path& parent_graph, } // namespace Client } // namespace Ingen - diff --git a/src/client/GraphModel.cpp b/src/client/GraphModel.cpp index 493293a5..764c3b75 100644 --- a/src/client/GraphModel.cpp +++ b/src/client/GraphModel.cpp @@ -58,9 +58,9 @@ GraphModel::remove_child(SPtr<ObjectModel> o) SPtr<ArcModel> arc = dynamic_ptr_cast<ArcModel>(j->second); if (arc->tail_path().parent() == o->path() - || arc->tail_path() == o->path() - || arc->head_path().parent() == o->path() - || arc->head_path() == o->path()) { + || arc->tail_path() == o->path() + || arc->head_path().parent() == o->path() + || arc->head_path() == o->path()) { _signal_removed_arc.emit(arc); _arcs.erase(j); // cuts our reference } @@ -123,7 +123,7 @@ GraphModel::add_arc(SPtr<ArcModel> arc) || arc->head()->parent()->parent().get() == this); SPtr<ArcModel> existing = get_arc( - arc->tail().get(), arc->head().get()); + arc->tail().get(), arc->head().get()); if (existing) { assert(arc->tail() == existing->tail()); diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp index 45ac2f37..76ae5080 100644 --- a/src/client/ObjectModel.cpp +++ b/src/client/ObjectModel.cpp @@ -108,4 +108,3 @@ ObjectModel::set_parent(SPtr<ObjectModel> p) } // namespace Client } // namespace Ingen - diff --git a/src/client/ingen_client.cpp b/src/client/ingen_client.cpp index 6f873f14..55623b66 100644 --- a/src/client/ingen_client.cpp +++ b/src/client/ingen_client.cpp @@ -34,4 +34,3 @@ ingen_module_load() } } // extern "C" - |