--- a/src/editmodes/rectangleMode.h Thu Jan 04 19:40:52 2018 +0200 +++ b/src/editmodes/rectangleMode.h Thu Jan 04 19:44:26 2018 +0200 @@ -21,16 +21,16 @@ class RectangleMode : public AbstractDrawMode { - DEFINE_CLASS (RectangleMode, AbstractDrawMode) + DEFINE_CLASS(RectangleMode, AbstractDrawMode) QVector<Vertex> m_rectangleVerts; public: - RectangleMode (GLRenderer* renderer); + RectangleMode(GLRenderer* renderer); - void render (QPainter& painter) const override; + void render(QPainter& painter) const override; EditModeType type() const override; void endDraw() override; - bool mouseMoved (QMouseEvent*) override; + bool mouseMoved(QMouseEvent*) override; int maxVertices() const override { return 2; } private: