From efeeca75c9e3dd2767efcb92d318a27565f6acef Mon Sep 17 00:00:00 2001 From: Renaud G Date: Thu, 11 Jul 2019 21:04:24 +0200 Subject: [PATCH] fix compilation error. --- field.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/field.cpp b/field.cpp index d783564..314bc1b 100644 --- a/field.cpp +++ b/field.cpp @@ -403,8 +403,8 @@ void Field::load(const QJsonObject& json, EditorController* ctrl) } void Field::initGraphicsItem() { - m_canvasField->setPos(m_rect.x(), m_rect.y()); #ifdef RCSE + m_canvasField->setPos(m_rect.x(), m_rect.y()); m_canvasField->setWidth(m_rect.width()); m_canvasField->setHeight(m_rect.height()); #endif