aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/ios/Switch.qml
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2025-10-12 23:00:20 +0300
committerTarja Sundqvist <tarja.sundqvist@qt.io>2025-10-12 23:00:20 +0300
commit4826f86e274f1b29bd769e6790824f9e62a40f62 (patch)
treec2cc4bb09ca91951a2641e33c3b0a65deb0af877 /src/quickcontrols/ios/Switch.qml
parent0f0972d542d9869c2dcfaf9c963d42ff32766460 (diff)
parent844f9b9b376838bcb44324984876f8bf99d85d38 (diff)
Merge tag 'v6.5.7-lts-lgpl' into 6.56.5
Qt 6.5.7-lts-lgpl release
Diffstat (limited to 'src/quickcontrols/ios/Switch.qml')
-rw-r--r--src/quickcontrols/ios/Switch.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quickcontrols/ios/Switch.qml b/src/quickcontrols/ios/Switch.qml
index 1b219cddf4..7a9b029fdf 100644
--- a/src/quickcontrols/ios/Switch.qml
+++ b/src/quickcontrols/ios/Switch.qml
@@ -32,8 +32,8 @@ T.Switch {
source: IOS.url + "switch-indicator"
ImageSelector 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},
{"checked": control.checked}
]
}
@@ -53,8 +53,8 @@ T.Switch {
source: IOS.url + "switch-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}
]
}