summaryrefslogtreecommitdiffstats
path: root/src/libs/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/client')
-rw-r--r--src/libs/client/NodeModel.cpp12
-rw-r--r--src/libs/client/NodeModel.hpp2
2 files changed, 5 insertions, 9 deletions
diff --git a/src/libs/client/NodeModel.cpp b/src/libs/client/NodeModel.cpp
index 55f1217b..c7b38ceb 100644
--- a/src/libs/client/NodeModel.cpp
+++ b/src/libs/client/NodeModel.cpp
@@ -26,17 +26,15 @@ namespace Client {
NodeModel::NodeModel(SharedPtr<PluginModel> plugin, const Path& path, bool polyphonic)
-
- : ObjectModel(path, polyphonic),
- _polyphonic(polyphonic),
- _plugin_uri(plugin->uri()),
- _plugin(plugin)
+ : ObjectModel(path, polyphonic)
+ , _plugin_uri(plugin->uri())
+ , _plugin(plugin)
{
}
NodeModel::NodeModel(const string& plugin_uri, const Path& path, bool polyphonic)
-: ObjectModel(path, polyphonic),
- _plugin_uri(plugin_uri)
+ : ObjectModel(path, polyphonic)
+ , _plugin_uri(plugin_uri)
{
}
diff --git a/src/libs/client/NodeModel.hpp b/src/libs/client/NodeModel.hpp
index 3c110099..fb88e2f0 100644
--- a/src/libs/client/NodeModel.hpp
+++ b/src/libs/client/NodeModel.hpp
@@ -56,7 +56,6 @@ public:
SharedPtr<PluginModel> plugin() const { return _plugin; }
int num_ports() const { return _ports.size(); }
const PortModelList& ports() const { return _ports; }
- virtual bool polyphonic() const { return _polyphonic; }
void port_value_range(SharedPtr<PortModel> port, float& min, float& max);
@@ -81,7 +80,6 @@ protected:
virtual void clear();
- bool _polyphonic;
PortModelList _ports; ///< List of ports (not a Table to preserve order)
string _plugin_uri; ///< Plugin URI (if PluginModel is unknown)
SharedPtr<PluginModel> _plugin; ///< The plugin this node is an instance of