--- 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; }