summaryrefslogtreecommitdiffstats
path: root/src/client/ObjectModel.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-11 01:47:34 +0000
committerDavid Robillard <d@drobilla.net>2012-03-11 01:47:34 +0000
commitb77cf5f715f94ec172d3e759b3c4e03761374556 (patch)
tree67f755ca1f4af6aa67620341cefad6a0d2e0e8f6 /src/client/ObjectModel.cpp
parent905fbd7d76b541c12fe500a4b8c775a64275487b (diff)
downloadingen-b77cf5f715f94ec172d3e759b3c4e03761374556.tar.gz
ingen-b77cf5f715f94ec172d3e759b3c4e03761374556.tar.bz2
ingen-b77cf5f715f94ec172d3e759b3c4e03761374556.zip
Fix UI response to property changes like port value (fix #779).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4045 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/ObjectModel.cpp')
-rw-r--r--src/client/ObjectModel.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp
index 81c0039b..f8137a79 100644
--- a/src/client/ObjectModel.cpp
+++ b/src/client/ObjectModel.cpp
@@ -53,21 +53,10 @@ ObjectModel::is_a(const Raul::URI& type) const
return has_property(_uris.rdf_type, type);
}
-const Raul::Atom&
-ObjectModel::set_property(const Raul::URI& key, const Raul::Atom& value,
- Resource::Graph ctx)
-{
- const Raul::Atom& my_value = ResourceImpl::set_property(key, value, ctx);
- _signal_property.emit(key, my_value);
- return my_value;
-}
-
void
-ObjectModel::add_property(const Raul::URI& key, const Raul::Atom& value,
- Resource::Graph ctx)
+ObjectModel::on_property(const Raul::URI& uri, const Raul::Atom& value)
{
- ResourceImpl::add_property(key, value, ctx);
- _signal_property.emit(key, value);
+ _signal_property.emit(uri, value);
}
const Atom&
@@ -78,7 +67,6 @@ ObjectModel::get_property(const Raul::URI& key) const
return (i != properties().end()) ? i->second : null_atom;
}
-
bool
ObjectModel::polyphonic() const
{