diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2018-02-15 13:53:05 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2018-02-17 13:27:40 +0000 |
commit | 0d465f5ccb9d944b0f7e3efece473d1530c0f39d (patch) | |
tree | 907f34e263be8bf2f00b5811203f4cf4cd8e56fa /src/gui/kernel | |
parent | ee55b37070ca4e23dd55f8e6874542a4ea75e827 (diff) |
Register QPlatformDialogHelper::ButtonLayout
This allows QML DialogButtonBox in Qt Quick Controls 2 to use the same
enum without having to duplicate it.
Change-Id: Ib3a89acd18f9e584a203ee44621ca2e3fc0ceaba
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qplatformdialoghelper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformdialoghelper.h b/src/gui/kernel/qplatformdialoghelper.h index f58dcf17f0..64b703e524 100644 --- a/src/gui/kernel/qplatformdialoghelper.h +++ b/src/gui/kernel/qplatformdialoghelper.h @@ -150,6 +150,7 @@ public: MacModelessLayout, AndroidLayout }; + Q_ENUM(ButtonLayout) QPlatformDialogHelper(); virtual ~QPlatformDialogHelper(); |