mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-21 18:59:12 +00:00
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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user