Use 4arg connect

This commit is contained in:
Jonas Kvinge
2021-08-25 02:55:00 +02:00
parent 709a706853
commit 336c6cdd9d
4 changed files with 4 additions and 4 deletions

View File

@@ -236,6 +236,6 @@ void AnalyzerContainer::AddFramerate(const QString &name, const int framerate) {
group_framerate_->addAction(action);
framerate_list_ << framerate;
action->setCheckable(true);
QObject::connect(action, &QAction::triggered, [this, framerate]() { ChangeFramerate(framerate); } );
QObject::connect(action, &QAction::triggered, this, [this, framerate]() { ChangeFramerate(framerate); } );
}