summaryrefslogtreecommitdiffstats
path: root/src/controls/Styles/Android/GroupBoxStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Android/GroupBoxStyle.qml')
-rw-r--r--src/controls/Styles/Android/GroupBoxStyle.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/controls/Styles/Android/GroupBoxStyle.qml b/src/controls/Styles/Android/GroupBoxStyle.qml
index d974635e8..b7346ea43 100644
--- a/src/controls/Styles/Android/GroupBoxStyle.qml
+++ b/src/controls/Styles/Android/GroupBoxStyle.qml
@@ -38,6 +38,7 @@
**
****************************************************************************/
import QtQuick 2.2
+import QtQuick.Window 2.2
import QtQuick.Controls 1.2
import QtQuick.Controls.Private 1.0
import QtQuick.Controls.Styles.Android 1.0
@@ -98,7 +99,7 @@ GroupBoxStyle {
checked: control.checked
pressed: check.pressed
focused: check.activeFocus
- window_focused: control.window && control.window.active
+ window_focused: control.Window.active
styleDef: AndroidStyle.styleDef.checkboxStyle.CompoundButton_button
anchors.verticalCenter: label.verticalCenter
width: control.checkable ? item.implicitWidth : 0
@@ -110,7 +111,7 @@ GroupBoxStyle {
pressed: check.pressed
selected: control.checked
focused: check.activeFocus
- window_focused: control.window && control.window.active
+ window_focused: control.Window.active
styleDef: AndroidStyle.styleDef.checkboxStyle
anchors.top: parent.top