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 97e40a5409.

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>
bb10
Friedemann Kleint 2018-03-28 10:39:53 +02:00
parent 40011193f4
commit 9976a1c76d
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ public:
DefaultStepType,
AdaptiveDecimalStepType
};
Q_ENUM(StepType)
public Q_SLOTS:
void stepUp();
void stepDown();