aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorccolin2021-01-04 14:24:28 +0100
committerccolin2021-01-04 14:24:28 +0100
commit472e291ca823910418919eac101f26e2b3d852a8 (patch)
tree54c8fc248e202272892d3a38dd0a59e2adf11b0a /src
parent72c6a89727d34d140a835d697d08d91401ae1ef8 (diff)
silence unused argument warning
Diffstat (limited to 'src')
-rw-r--r--src/main_window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_window.cc b/src/main_window.cc
index 1c37f72..285294f 100644
--- a/src/main_window.cc
+++ b/src/main_window.cc
@@ -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,