From 1567e4581e1f82dae011d6d3b2e4196efc93b0f4 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Wed, 4 Jul 2018 13:41:51 +0200 Subject: Material: qualify DialogButtonBox enums with "T" Otherwise strange things happen to innocent pieces of code: DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole qrc:/qml/main.qml:391:17: Unable to assign [undefined] to int Task-number: QTBUG-69286 Change-Id: I6a3c5810c06e0de38af9e87088f08b3e8bae0459 Reviewed-by: J-P Nurmi --- src/imports/controls/material/DialogButtonBox.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imports/controls/material/DialogButtonBox.qml b/src/imports/controls/material/DialogButtonBox.qml index 451e33de..eee9b88d 100644 --- a/src/imports/controls/material/DialogButtonBox.qml +++ b/src/imports/controls/material/DialogButtonBox.qml @@ -53,7 +53,7 @@ T.DialogButtonBox { padding: 8 verticalPadding: 2 alignment: Qt.AlignRight - buttonLayout: DialogButtonBox.AndroidLayout + buttonLayout: T.DialogButtonBox.AndroidLayout Material.foreground: Material.accent -- cgit v1.2.3