Fix Q_ENUM in QWizard.
Make QWizard::WizardStyle a Q_ENUM instead of WizardButton. Fix startup warning of Qt Designer: QMetaProperty::read: Unable to handle unregistered datatype 'WizardStyle' for property 'QWizard::wizardStyle' Change-Id: Icb86e88b6ee2da301ef4ed9c003b54e0cc42efa5 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>bb10
parent
ab74cf09a8
commit
b6174340eb
|
|
@ -73,7 +73,6 @@ public:
|
|||
NStandardButtons = 6,
|
||||
NButtons = 9
|
||||
};
|
||||
Q_ENUM(WizardButton)
|
||||
|
||||
enum WizardPixmap {
|
||||
WatermarkPixmap,
|
||||
|
|
@ -90,6 +89,7 @@ public:
|
|||
AeroStyle,
|
||||
NStyles
|
||||
};
|
||||
Q_ENUM(WizardStyle)
|
||||
|
||||
enum WizardOption {
|
||||
IndependentPages = 0x00000001,
|
||||
|
|
|
|||
Loading…
Reference in New Issue