diff options
Diffstat (limited to 'src/gui/Port.cpp')
-rw-r--r-- | src/gui/Port.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index 9a20a8b8..c1947fea 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -81,8 +81,6 @@ Port::Port(App& app, sigc::mem_fun(this, &Port::property_removed)); pm->signal_activity().connect( sigc::mem_fun(this, &Port::activity)); - pm->signal_disconnection().connect( - sigc::mem_fun(this, &Port::disconnected_from)); pm->signal_moved().connect( sigc::mem_fun(this, &Port::moved)); @@ -371,14 +369,6 @@ Port::activity(const Atom& value) } } -void -Port::disconnected_from(SPtr<PortModel> port) -{ - if (!model()->connected() && model()->is_a(_app.uris().lv2_AudioPort)) { - set_fill_color(peak_color(0.0f)); - } -} - GraphBox* Port::get_graph_box() const { |