From 046fcdc68cc7eb897042d6b6eb8fd0e63cbcf9f2 Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 14 Sep 2021 16:42:30 +0200 Subject: [PATCH] Gui: fix compiler warnings: [-Wunused-parameter] --- src/Gui/MouseSelection.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Gui/MouseSelection.cpp b/src/Gui/MouseSelection.cpp index 0551d15951..a143685b14 100644 --- a/src/Gui/MouseSelection.cpp +++ b/src/Gui/MouseSelection.cpp @@ -280,6 +280,8 @@ void PolyPickerSelection::initialize() void PolyPickerSelection::terminate(bool abort) { + Q_UNUSED(abort) + _pcView3D->removeGraphicsItem(&polyline); _pcView3D->setRenderType(View3DInventorViewer::Native); _pcView3D->redraw(); @@ -673,6 +675,8 @@ void RubberbandSelection::initialize() void RubberbandSelection::terminate(bool abort) { + Q_UNUSED(abort) + _pcView3D->removeGraphicsItem(&rubberband); if (QtGLFramebufferObject::hasOpenGLFramebufferObjects()) { _pcView3D->setRenderType(View3DInventorViewer::Native);