summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-24 17:28:43 +0000
committerDavid Robillard <d@drobilla.net>2014-01-24 17:28:43 +0000
commita659a13c531e991851e013db3d4223bf16a343b8 (patch)
tree583112a95bc6abeb39dd514c987ff1c82b3d2e9e /src/client
parent28ab52045a429eb190ea1a23cef92d81c36748f5 (diff)
downloadingen-a659a13c531e991851e013db3d4223bf16a343b8.tar.gz
ingen-a659a13c531e991851e013db3d4223bf16a343b8.tar.bz2
ingen-a659a13c531e991851e013db3d4223bf16a343b8.zip
Fix various whitespace and formatting issues.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5325 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ClientStore.cpp3
-rw-r--r--src/client/GraphModel.cpp8
-rw-r--r--src/client/ObjectModel.cpp1
-rw-r--r--src/client/ingen_client.cpp1
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"
-