aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/ios/CheckDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols/ios/CheckDelegate.qml')
-rw-r--r--src/quickcontrols/ios/CheckDelegate.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/quickcontrols/ios/CheckDelegate.qml b/src/quickcontrols/ios/CheckDelegate.qml
index b421430311..fd160220fb 100644
--- a/src/quickcontrols/ios/CheckDelegate.qml
+++ b/src/quickcontrols/ios/CheckDelegate.qml
@@ -32,8 +32,8 @@ T.CheckDelegate {
states: [
{"checked": control.checkState === Qt.Checked},
{"partially-checked": control.checkState === Qt.PartiallyChecked},
- {"light": Qt.styleHints.colorScheme === Qt.Light},
- {"dark": Qt.styleHints.colorScheme === Qt.Dark}
+ {"light": Application.styleHints.colorScheme === Qt.Light},
+ {"dark": Application.styleHints.colorScheme === Qt.Dark}
]
}
}
@@ -55,7 +55,7 @@ T.CheckDelegate {
background: Rectangle {
implicitHeight: 44
- color: Qt.styleHints.colorScheme === Qt.Dark ? control.palette.light : control.palette.base
+ color: Application.styleHints.colorScheme === Qt.Dark ? control.palette.light : control.palette.base
NinePatchImage {
property real offset: control.icon.source.toString() !== "" ? control.icon.width + control.spacing : 0
x: control.down ? 0 : control.leftPadding + offset
@@ -65,8 +65,8 @@ T.CheckDelegate {
source: IOS.url + "itemdelegate-background"
NinePatchImageSelector on source {
states: [
- {"light": Qt.styleHints.colorScheme === Qt.Light},
- {"dark": Qt.styleHints.colorScheme === Qt.Dark},
+ {"light": Application.styleHints.colorScheme === Qt.Light},
+ {"dark": Application.styleHints.colorScheme === Qt.Dark},
{"pressed": control.down}
]
}