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
Friedemann Kleint 2015-02-11 12:00:19 +01:00 committed by Olivier Goffart (Woboq GmbH)
parent ab74cf09a8
commit b6174340eb
1 changed files with 1 additions and 1 deletions

View File

@ -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,