src/tools/basetool.h

changeset 125
f127982d3412
parent 121
000781318c36
child 126
a7c720aff97c
--- 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 {}
 };

mercurial