silence unused argument warning

This commit is contained in:
ccolin 2021-01-04 14:24:28 +01:00
parent 72c6a89727
commit 472e291ca8

View File

@ -84,7 +84,7 @@ void MainWindow::open(const QString &path) {
slider, &QSlider::setValue);
connect(dc, &DroneController::collision, settings_pane, &SettingsPane::addCollision);
connect(settings_pane, &SettingsPane::sphereRadiusChanged,
[&](double _) { settings_pane->clearCollisions(); });
[&](double _) { Q_UNUSED(_); settings_pane->clearCollisions(); });
connect(settings_pane, &SettingsPane::sphereRadiusChanged,
dc, &DroneController::computeCollisions);
connect(settings_pane, &SettingsPane::sphereRadiusChanged,