From e0affd89b1691a146715969202d9e40c7855ac8f Mon Sep 17 00:00:00 2001 From: Lioncache Date: Sat, 20 Dec 2025 22:33:53 -0500 Subject: [PATCH] WDraggableSpinBox: Reduce from 72 bytes to 64 Just some trivial member movement that makes these a little smaller in memory. --- src/Editor/Widgets/WDraggableSpinBox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Editor/Widgets/WDraggableSpinBox.h b/src/Editor/Widgets/WDraggableSpinBox.h index cfcf8027..976b115a 100644 --- a/src/Editor/Widgets/WDraggableSpinBox.h +++ b/src/Editor/Widgets/WDraggableSpinBox.h @@ -6,12 +6,12 @@ class WDraggableSpinBox : public QDoubleSpinBox { Q_OBJECT - bool mBeingDragged = false; - bool mBeenDragged = false; double mDefaultValue = 0.0; int mLastY = 0; int mMinDecimals = 1; bool mTrimTrailingZeroes = true; + bool mBeingDragged = false; + bool mBeenDragged = false; public: explicit WDraggableSpinBox(QWidget *pParent = nullptr);