Skip to content

Commit

Permalink
Add missing Q_ENUM to QAbstractSpinBox::StepType
Browse files Browse the repository at this point in the history
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 97e40a5.

Change-Id: If99d118fcda0f8420bb0c3424427ac4f2c48505e
Reviewed-by: Harald Nordgren <[email protected]>
Reviewed-by: André Hartmann <[email protected]>
Reviewed-by: Shawn Rutledge <[email protected]>
  • Loading branch information
FriedemannKleint committed Mar 29, 2018
1 parent 4001119 commit 9976a1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/widgets/widgets/qabstractspinbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ class Q_WIDGETS_EXPORT QAbstractSpinBox : public QWidget
DefaultStepType,
AdaptiveDecimalStepType
};
Q_ENUM(StepType)

public Q_SLOTS:
void stepUp();
void stepDown();
Expand Down

0 comments on commit 9976a1c

Please sign in to comment.