From 0d465f5ccb9d944b0f7e3efece473d1530c0f39d Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 15 Feb 2018 13:53:05 +0100 Subject: [PATCH] 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 Reviewed-by: Friedemann Kleint --- src/gui/kernel/qplatformdialoghelper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/kernel/qplatformdialoghelper.h b/src/gui/kernel/qplatformdialoghelper.h index f58dcf17f09..64b703e5241 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();