src/tools/drawtool.cpp

changeset 104
cd4df75924b7
parent 103
94719518e310
child 106
128efb9d148b
--- a/src/tools/drawtool.cpp	Sun May 16 22:41:00 2021 +0300
+++ b/src/tools/drawtool.cpp	Mon Jul 19 19:28:16 2021 +0300
@@ -16,7 +16,9 @@
 	return result;
 }
 
-bool DrawTool::mouseReleased(const BaseTool::MouseEventData &event)
+bool DrawTool::mouseClick(const Canvas::MouseClickInfo& info)
 {
+	static_cast<void>(info);
 	QMessageBox::information(nullptr, "hleelo", "it works");
+	return true;
 }

mercurial