aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/macos/DialogButtonBox.qml
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2022-12-19 11:41:00 +0800
committerMitch Curtis <mitch.curtis@qt.io>2022-12-22 10:57:04 +0800
commit0cd146b4b015d2ba79f258b27f3109b3e21e855a (patch)
treeeaabb58702a9dccc339760a33c01918e2df8ebe9 /src/quickcontrols/macos/DialogButtonBox.qml
parentae6546c240bd3beb9295b512996a115bcebb831a (diff)
Fix warnings with native styles
Amends e592a2ad31695695f0dd2069b17c6ab90ed1a739 to cover some cases that were missed. They were missed because I incorrectly assumed that the various test functions that I added in 0765c176e7b7ee73b1ac6d6efdabc93e4dec978f would catch warnings, forgetting that the fact that we set QT_QUICK_CONTROLS_IGNORE_CUSTOMIZATION_WARNINGS to 1 in tst_macos and tst_windows meant that we'd never get the warnings. Fixes: QTBUG-109438 Pick-to: 6.5 Change-Id: I527785a3adf3afb2a7ee4943300e87909f21562e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/quickcontrols/macos/DialogButtonBox.qml')
-rw-r--r--src/quickcontrols/macos/DialogButtonBox.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quickcontrols/macos/DialogButtonBox.qml b/src/quickcontrols/macos/DialogButtonBox.qml
index 0d583e7170..6f844dba2f 100644
--- a/src/quickcontrols/macos/DialogButtonBox.qml
+++ b/src/quickcontrols/macos/DialogButtonBox.qml
@@ -28,6 +28,8 @@ T.DialogButtonBox {
orientation: ListView.Horizontal
boundsBehavior: Flickable.StopAtBounds
snapMode: ListView.SnapToItem
+
+ readonly property bool __ignoreNotCustomizable: true
}
background: Rectangle {
@@ -38,5 +40,7 @@ T.DialogButtonBox {
height: parent.height - 2
color: control.palette.window
radius: 2
+
+ readonly property bool __ignoreNotCustomizable: true
}
}