Fix implicit lambda captures of this by [=]

Those implicit captures were deprecated in C++20
This commit is contained in:
Dalton Messmer
2024-10-21 21:00:02 -04:00
parent 9d2f99ea33
commit 027042a568
8 changed files with 19 additions and 19 deletions

View File

@@ -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();});
}