summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qwizard.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-02-11 12:00:19 +0100
committerOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>2015-02-12 19:00:37 +0000
commitb6174340ebd4e07a75ab2f41f94d7e2fbb94a384 (patch)
treed177d1edcc2b5f9d87b45b25cc6e54cc5b4190f8 /src/widgets/dialogs/qwizard.h
parentab74cf09a8f71aa939ac3de6165f9d6b45465ef8 (diff)
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>
Diffstat (limited to 'src/widgets/dialogs/qwizard.h')
-rw-r--r--src/widgets/dialogs/qwizard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dialogs/qwizard.h b/src/widgets/dialogs/qwizard.h
index 5b76fbc7f5..517edde377 100644
--- a/src/widgets/dialogs/qwizard.h
+++ b/src/widgets/dialogs/qwizard.h
@@ -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,