Skip to content

Commit

Permalink
Fix a building issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed May 15, 2024
1 parent 9de2c6a commit 2bfea9c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 6 additions & 4 deletions librecad/src/actions/lc_actiondrawrectangle2points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**********************************************************************/
#include <QMouseEvent>
#include "rs_math.h"

#include "lc_abstractactiondrawrectangle.h"
#include "lc_actiondrawrectangle2points.h"
#include "lc_linemath.h"
#include "lc_rectangle2pointsoptions.h"
#include "lc_actiondrawrectangle2points.h"
#include "lc_abstractactiondrawrectangle.h"
#include "rs_math.h"
#include "rs_polyline.h"

LC_ActionDrawRectangle2Points::LC_ActionDrawRectangle2Points(
RS_EntityContainer &container,
Expand All @@ -34,7 +36,7 @@ LC_ActionDrawRectangle2Points::LC_ActionDrawRectangle2Points(
container, graphicView){
actionType = RS2::ActionDrawRectangle2Points;
angle = 0;
init(SetPoint1);
LC_ActionDrawRectangle2Points::init(SetPoint1);
setMainStatus(SetPoint1);
}

Expand Down
7 changes: 3 additions & 4 deletions librecad/src/ui/forms/lc_rectangle1pointoptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**********************************************************************/
#include "lc_actiondrawrectangle1point.h"
#include "lc_rectangle1pointoptions.h"
#include "ui_lc_rectangle1pointoptions.h"
#include "rs_actioninterface.h"
#include "lc_actiondrawrectangle1point.h"
#include "rs_settings.h"
#include "rs_math.h"
#include "rs_debug.h"
#include "rs_math.h"
#include "ui_lc_rectangle1pointoptions.h"


LC_Rectangle1PointOptions::LC_Rectangle1PointOptions(QWidget *parent) :
Expand Down
1 change: 0 additions & 1 deletion librecad/src/ui/forms/lc_rectangle3pointsoptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**********************************************************************/
#include "lc_rectangle3pointsoptions.h"
#include "ui_lc_rectangle3pointsoptions.h"
#include "rs_settings.h"
#include "rs_math.h"

LC_Rectangle3PointsOptions::LC_Rectangle3PointsOptions(QWidget *parent) :
Expand Down

0 comments on commit 2bfea9c

Please sign in to comment.