summaryrefslogtreecommitdiffstats
path: root/src/libs/client/PatchModel.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-04 01:25:48 +0000
committerDavid Robillard <d@drobilla.net>2006-07-04 01:25:48 +0000
commitfefd94019be32da03fcfd4b683860e3461e19000 (patch)
tree4d4d738562c00b68498e086b5d1bd88610aadf71 /src/libs/client/PatchModel.cpp
parent2d518cb42f7707503efc289badb4cac9a3396a17 (diff)
downloadingen-fefd94019be32da03fcfd4b683860e3461e19000.tar.gz
ingen-fefd94019be32da03fcfd4b683860e3461e19000.tar.bz2
ingen-fefd94019be32da03fcfd4b683860e3461e19000.zip
More fixes for connecting/disconnecting
git-svn-id: http://svn.drobilla.net/lad/ingen@83 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/PatchModel.cpp')
-rw-r--r--src/libs/client/PatchModel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/client/PatchModel.cpp b/src/libs/client/PatchModel.cpp
index d79fa74b..27f0361a 100644
--- a/src/libs/client/PatchModel.cpp
+++ b/src/libs/client/PatchModel.cpp
@@ -209,6 +209,7 @@ PatchModel::add_connection(CountedPtr<ConnectionModel> cm)
void
PatchModel::remove_connection(const string& src_port_path, const string& dst_port_path)
{
+ cerr << path() << " PatchModel::remove_connection: " << cm->src_port_path() << " -> " << cm->dst_port_path() << endl;
for (list<CountedPtr<ConnectionModel> >::iterator i = m_connections.begin(); i != m_connections.end(); ++i) {
CountedPtr<ConnectionModel> cm = (*i);
if (cm->src_port_path() == src_port_path && cm->dst_port_path() == dst_port_path) {
@@ -218,6 +219,7 @@ PatchModel::remove_connection(const string& src_port_path, const string& dst_por
return;
}
}
+
cerr << "[PatchModel::remove_connection] WARNING: Failed to find connection " <<
src_port_path << " -> " << dst_port_path << endl;
}