mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-17 03:07:17 -04:00
Fix implicit lambda captures of this by [=]
Those implicit captures were deprecated in C++20
This commit is contained in:
@@ -341,7 +341,6 @@ SaControlsDialog::SaControlsDialog(SaControls *controls, SaProcessor *processor)
|
||||
m_waterfall = new SaWaterfallView(controls, processor, this);
|
||||
display_splitter->addWidget(m_waterfall);
|
||||
m_waterfall->setVisible(m_controls->m_waterfallModel.value());
|
||||
connect(&controls->m_waterfallModel, &BoolModel::dataChanged, [=] {m_waterfall->updateVisibility();});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user