--- a/src/editmodes/drawmode.h Fri Jul 04 23:44:44 2014 +0300 +++ b/src/editmodes/drawmode.h Sat Jul 05 01:17:48 2014 +0300 @@ -15,5 +15,6 @@ virtual bool mouseMoved (QMouseEvent*) override; private: + void endDraw(); void updateRectVerts(); };