aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/CheckIndicator.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-04-21 11:38:21 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-04-21 15:16:46 +0000
commit5047b7162ff3129749d6d736e6900eaf61f74bfe (patch)
treee98201b90b15c43113e13b44e73bb6898ba3087e /src/imports/controls/CheckIndicator.qml
parent7cd639707d8b035e9ac69292724ad477bade1042 (diff)
Replace activeFocus with activeKeyFocus
Change-Id: If3b89c2bf1eeed48ecd21739c49914e62f38ac24 Task-number: QTBUG-51796 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/CheckIndicator.qml')
-rw-r--r--src/imports/controls/CheckIndicator.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/imports/controls/CheckIndicator.qml b/src/imports/controls/CheckIndicator.qml
index 585bdb25..fbaf86af 100644
--- a/src/imports/controls/CheckIndicator.qml
+++ b/src/imports/controls/CheckIndicator.qml
@@ -44,9 +44,9 @@ Rectangle {
implicitWidth: 28
implicitHeight: 28
- color: control.enabled ? (control.down ? (control.activeFocus ? "#cce0ff" : "#e4e4e4") : "#f6f6f6") : "#353637"
- border.width: control.activeFocus ? 2 : 1
- border.color: control.enabled ? (control.activeFocus ? "#0066ff" : (control.down ? "#26282a" : "#353637")) : "transparent"
+ color: control.enabled ? (control.down ? (control.activeKeyFocus ? "#cce0ff" : "#e4e4e4") : "#f6f6f6") : "#353637"
+ border.width: control.activeKeyFocus ? 2 : 1
+ border.color: control.enabled ? (control.activeKeyFocus ? "#0066ff" : (control.down ? "#26282a" : "#353637")) : "transparent"
Image {
x: (parent.width - width) / 2
@@ -60,7 +60,7 @@ Rectangle {
y: (parent.height - height) / 2
width: 16
height: 3
- color: control.activeFocus ? "#0066ff" : "#353637"
+ color: control.activeKeyFocus ? "#0066ff" : "#353637"
visible: control.checkState === Qt.PartiallyChecked
}
}