--- a/src/editmodes/rectangleMode.cpp Tue Feb 14 15:11:33 2017 +0200 +++ b/src/editmodes/rectangleMode.cpp Tue Feb 14 15:21:34 2017 +0200 @@ -18,9 +18,10 @@ #include <QPainter> #include <QMouseEvent> +#include "../canvas.h" #include "rectangleMode.h" #include "../linetypes/modelobject.h" -#include "../canvas.h" +#include "../linetypes/quadrilateral.h" RectangleMode::RectangleMode (Canvas* canvas) : Super (canvas),