diff -r 94719518e310 -r cd4df75924b7 src/tools/drawtool.cpp --- 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(info); QMessageBox::information(nullptr, "hleelo", "it works"); + return true; }