From 28357b0f552bb2664e62478b068e02db6c02883c Mon Sep 17 00:00:00 2001 From: Shane Ringrose Date: Tue, 23 Jun 2026 07:04:34 +1200 Subject: [PATCH] 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 --- sources/editor/graphicspart/customelementgraphicpart.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/editor/graphicspart/customelementgraphicpart.cpp b/sources/editor/graphicspart/customelementgraphicpart.cpp index 4254f69da..4c4200dac 100644 --- a/sources/editor/graphicspart/customelementgraphicpart.cpp +++ b/sources/editor/graphicspart/customelementgraphicpart.cpp @@ -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