WDraggableSpinBox: Reduce from 72 bytes to 64

Just some trivial member movement that makes these a little smaller in
memory.
This commit is contained in:
Lioncache
2025-12-20 22:33:53 -05:00
parent 54d3e009d2
commit e0affd89b1

View File

@@ -6,12 +6,12 @@
class WDraggableSpinBox : public QDoubleSpinBox class WDraggableSpinBox : public QDoubleSpinBox
{ {
Q_OBJECT Q_OBJECT
bool mBeingDragged = false;
bool mBeenDragged = false;
double mDefaultValue = 0.0; double mDefaultValue = 0.0;
int mLastY = 0; int mLastY = 0;
int mMinDecimals = 1; int mMinDecimals = 1;
bool mTrimTrailingZeroes = true; bool mTrimTrailingZeroes = true;
bool mBeingDragged = false;
bool mBeenDragged = false;
public: public:
explicit WDraggableSpinBox(QWidget *pParent = nullptr); explicit WDraggableSpinBox(QWidget *pParent = nullptr);