diff -r f9f308c8e0c5 -r f127982d3412 src/tools/drawtool.h --- a/src/tools/drawtool.h Sun Aug 29 20:05:24 2021 +0300 +++ b/src/tools/drawtool.h Sun Aug 29 20:39:55 2021 +0300 @@ -12,7 +12,7 @@ QString toolTip() const override; bool mouseClick(Document* document, Canvas* canvas, QMouseEvent* event) override; bool mouseMove(Document* document, Canvas* canvas, QMouseEvent* event) override; - bool keyReleased(QKeyEvent*) override; + bool keyReleased(Document*, Canvas* canvas, QKeyEvent* event) override; void reset() override; void overpaint(Canvas*, QPainter*) const override; private: