From 9976a1c76d5f93d2f2bbb43a5a2ed427bcd5bac8 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 28 Mar 2018 10:39:53 +0200 Subject: [PATCH] Add missing Q_ENUM to QAbstractSpinBox::StepType MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: André Hartmann Reviewed-by: Shawn Rutledge --- src/widgets/widgets/qabstractspinbox.h | 2 ++ 1 file changed, 2 insertions(+) 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();