From 3265e8f01cd4e878661973730349a5ed44329713 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Feb 2013 16:58:42 +0000 Subject: More generic Atom class. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5024 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/GraphModel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/GraphModel.cpp') diff --git a/src/client/GraphModel.cpp b/src/client/GraphModel.cpp index 8586f168..0a6ae027 100644 --- a/src/client/GraphModel.cpp +++ b/src/client/GraphModel.cpp @@ -151,21 +151,21 @@ bool GraphModel::enabled() const { const Raul::Atom& enabled = get_property(_uris.ingen_enabled); - return (enabled.is_valid() && enabled.get_bool()); + return (enabled.is_valid() && enabled.get()); } uint32_t GraphModel::internal_poly() const { const Raul::Atom& poly = get_property(_uris.ingen_polyphony); - return poly.is_valid() ? poly.get_int32() : 1; + return poly.is_valid() ? poly.get() : 1; } bool GraphModel::polyphonic() const { const Raul::Atom& poly = get_property(_uris.ingen_polyphonic); - return poly.is_valid() && poly.get_bool(); + return poly.is_valid() && poly.get(); } } // namespace Client -- cgit v1.2.1