diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-04-21 11:38:21 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-04-21 15:16:46 +0000 |
commit | 5047b7162ff3129749d6d736e6900eaf61f74bfe (patch) | |
tree | e98201b90b15c43113e13b44e73bb6898ba3087e /src/imports/controls/universal/CheckDelegate.qml | |
parent | 7cd639707d8b035e9ac69292724ad477bade1042 (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/universal/CheckDelegate.qml')
-rw-r--r-- | src/imports/controls/universal/CheckDelegate.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/universal/CheckDelegate.qml b/src/imports/controls/universal/CheckDelegate.qml index b6c8564b..344183f5 100644 --- a/src/imports/controls/universal/CheckDelegate.qml +++ b/src/imports/controls/universal/CheckDelegate.qml @@ -82,12 +82,12 @@ T.CheckDelegate { //! [background] background: Rectangle { - visible: control.down || control.highlighted || control.activeFocus + visible: control.down || control.highlighted || control.activeKeyFocus color: control.down ? control.Universal.listMediumColor : control.Universal.altMediumLowColor Rectangle { width: parent.width height: parent.height - visible: control.activeFocus || control.highlighted + visible: control.activeKeyFocus || control.highlighted color: control.Universal.accent opacity: control.Universal.theme === Universal.Light ? 0.4 : 0.6 } |