Skip to content

Commit

Permalink
fix compilation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Renaud G committed Jul 11, 2019
1 parent f97b69c commit efeeca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion field.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efeeca7

Please sign in to comment.