src/tools/selecttool.cpp

changeset 185
a38a0eb007b0
parent 163
36ea1a8aee33
--- a/src/tools/selecttool.cpp	Tue Mar 15 18:56:02 2022 +0200
+++ b/src/tools/selecttool.cpp	Tue Mar 15 19:48:07 2022 +0200
@@ -18,11 +18,10 @@
 	return result;
 }
 
-bool SelectTool::mouseClick(Document* document, Canvas* canvas, QMouseEvent* event)
+bool SelectTool::mouseClick(Canvas* canvas, QMouseEvent* event)
 {
 	if (event->button() == Qt::LeftButton)
 	{
-		static_cast<void>(document);
 		const ldraw::id_t highlighted = canvas->getHighlightedObject();
 		canvas->clearSelection();
 		if (highlighted != ldraw::NULL_ID)

mercurial