--- a/src/tools/basetool.h Sun Aug 29 20:05:24 2021 +0300 +++ b/src/tools/basetool.h Sun Aug 29 20:39:55 2021 +0300 @@ -17,7 +17,7 @@ virtual bool mouseClick(Document*, Canvas*, QMouseEvent*) { return false; } virtual bool mouseDoubleClicked(QMouseEvent*, QMouseEvent*) { return false; } virtual bool mouseMove(Document*, Canvas*, QMouseEvent*) { return false; } - virtual bool keyReleased(QKeyEvent*) { return false; } + virtual bool keyReleased(Document*, Canvas*, QKeyEvent*) { return false; } virtual void reset() {} virtual void overpaint(Canvas*, QPainter*) const {} };