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:
@@ -54,6 +54,7 @@ SaWaterfallView::SaWaterfallView(SaControls *controls, SaProcessor *processor, Q
|
||||
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||
|
||||
connect(getGUI()->mainWindow(), SIGNAL(periodicUpdate()), this, SLOT(periodicUpdate()));
|
||||
connect(&controls->m_waterfallModel, &BoolModel::dataChanged, this, &SaWaterfallView::updateVisibility);
|
||||
|
||||
m_displayTop = 1;
|
||||
m_displayBottom = height() -2;
|
||||
|
||||
Reference in New Issue
Block a user