fix(editor): correct initializer list order to silence -Wreorder warning

m_first_move was initialized before _linestyle in the constructor
initializer list, but _linestyle is declared first in the class. Reorder
to match declaration order.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Shane Ringrose
2026-06-23 07:04:34 +12:00
parent 2a115e4381
commit 28357b0f55
@@ -36,12 +36,12 @@ CustomElementGraphicPart::CustomElementGraphicPart(QETElementEditor *editor,
QGraphicsObject (parent),
CustomElementPart(editor),
m_hovered (false),
m_first_move (false),
_linestyle(NormalStyle),
_lineweight(NormalWeight),
_filling(NoneFilling),
_color(BlackColor),
_antialiased(false)
_antialiased(false),
m_first_move (false)
{
setFlags(QGraphicsItem::ItemIsSelectable
| QGraphicsItem::ItemIsMovable