diff options
Diffstat (limited to 'src/quickcontrols/ios/Slider.qml')
| -rw-r--r-- | src/quickcontrols/ios/Slider.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/quickcontrols/ios/Slider.qml b/src/quickcontrols/ios/Slider.qml index fe76303e26..5cc3d126c5 100644 --- a/src/quickcontrols/ios/Slider.qml +++ b/src/quickcontrols/ios/Slider.qml @@ -26,8 +26,8 @@ T.Slider { source: IOS.url + "slider-handle" 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}, {"disabled": !control.enabled} ] } @@ -47,8 +47,8 @@ T.Slider { width: control.horizontal ? background.width : background.height 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}, ] } @@ -59,8 +59,8 @@ T.Slider { source: IOS.url + "slider-progress" 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}, ] } } |
