diff --git a/src/view/sidebar/captureconsolemodes/CaptureConsoleMode.cpp b/src/view/sidebar/captureconsolemodes/CaptureConsoleMode.cpp index ee6b08d8d..626c145f4 100644 --- a/src/view/sidebar/captureconsolemodes/CaptureConsoleMode.cpp +++ b/src/view/sidebar/captureconsolemodes/CaptureConsoleMode.cpp @@ -76,10 +76,10 @@ void CaptureConsoleMode::update_data_from_items() { });*/ if (c->channel_selector) { - c->channel_selector->out_changed >> create_sink([this, c] { + c->channel_selector->out_changed >> create_sink([c] { c->peak_meter_display->set_channel_map(c->channel_map()); }); - c->channel_selector->out_state_changed >> create_sink([this, c] { + c->channel_selector->out_state_changed >> create_sink([c] { c->peak_meter_display->set_channel_map(c->channel_map()); }); }