summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qabstractspinbox.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-03-28 10:39:53 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-03-29 08:05:16 +0000
commit9976a1c76d5f93d2f2bbb43a5a2ed427bcd5bac8 (patch)
tree7ee55c6cffde5379d6fd92f2eb194c8556eee232 /src/widgets/widgets/qabstractspinbox.h
parent40011193f42a591c1fe5b1029764895eeed71b1f (diff)
Add missing Q_ENUM to QAbstractSpinBox::StepType
Fix designer startup warning: QMetaProperty::read: Unable to handle unregistered datatype 'StepType' for property 'QSpinBox::stepType' QMetaProperty::read: Unable to handle unregistered datatype 'StepType' for property 'QDoubleSpinBox::stepType' Amends 97e40a5409dd4338084fe8df2397156dccc49d6d. Change-Id: If99d118fcda0f8420bb0c3424427ac4f2c48505e Reviewed-by: Harald Nordgren <haraldnordgren@gmail.com> Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/widgets/widgets/qabstractspinbox.h')
-rw-r--r--src/widgets/widgets/qabstractspinbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/widgets/qabstractspinbox.h b/src/widgets/widgets/qabstractspinbox.h
index 552c51fc9d..87d46c7326 100644
--- a/src/widgets/widgets/qabstractspinbox.h
+++ b/src/widgets/widgets/qabstractspinbox.h
@@ -132,6 +132,8 @@ public:
DefaultStepType,
AdaptiveDecimalStepType
};
+ Q_ENUM(StepType)
+
public Q_SLOTS:
void stepUp();
void stepDown();