summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ClientStore.cpp10
-rw-r--r--src/client/PortModel.cpp2
2 files changed, 2 insertions, 10 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp
index 7dbc5b0e..c7d5b9a2 100644
--- a/src/client/ClientStore.cpp
+++ b/src/client/ClientStore.cpp
@@ -65,7 +65,6 @@ ClientStore::ClientStore(SharedPtr<Shared::URIs> uris,
CONNECT(disconnection, disconnect);
CONNECT(disconnect_all, disconnect_all);
CONNECT(property_change, set_property);
- CONNECT(activity, activity);
}
void
@@ -413,15 +412,6 @@ ClientStore::set_property(const URI& subject_uri, const URI& predicate, const At
}
}
-void
-ClientStore::activity(const Path& path, const Atom& value)
-{
- SharedPtr<PortModel> port = PtrCast<PortModel>(_object(path));
- if (port) {
- port->signal_activity().emit(value);
- }
-}
-
SharedPtr<PatchModel>
ClientStore::connection_patch(const Path& src_port_path, const Path& dst_port_path)
{
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp
index 2fc649a7..afd28816 100644
--- a/src/client/PortModel.cpp
+++ b/src/client/PortModel.cpp
@@ -27,6 +27,8 @@ PortModel::on_property(const Raul::URI& uri, const Raul::Atom& value)
{
if (uri == _uris.ingen_value) {
this->value(value);
+ } else if (uri == _uris.ingen_activity) {
+ signal_activity().emit(value);
}
}