diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/PortModel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp index 5d4cb417..a818b04f 100644 --- a/src/client/PortModel.cpp +++ b/src/client/PortModel.cpp @@ -37,8 +37,7 @@ PortModel::set_property(const Raul::URI& uri, bool PortModel::has_hint(const std::string& qname) const { - const Raul::Atom& hint = get_property(qname); - return (hint.is_valid() && hint.get_bool() > 0); + return has_property(Shared::LV2URIMap::instance().lv2_portProperty, qname); } |