summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Android/ScrollViewStyle.qml
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2014-08-08 13:48:31 +0200
committerJ-P Nurmi <jpnurmi@digia.com>2014-08-10 00:55:04 +0200
commitd2b2699e1419bdc99d53f16d01047fd1bf1e32ab (patch)
treede1baefc4f85b94073922f7cea55d2cecfd94801 /src/controls/Styles/Android/ScrollViewStyle.qml
parente5a9fea530e74c6d4a31e6ba9a3bb700df6df67a (diff)
downloadqtquickcontrols-d2b2699e1419bdc99d53f16d01047fd1bf1e32ab.tar.gz
Replace usage of Item.window with Window attached property
Change-Id: Ic33d645ba384697f761540e277507ad56617e2fb Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Styles/Android/ScrollViewStyle.qml')
-rw-r--r--src/controls/Styles/Android/ScrollViewStyle.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/Styles/Android/ScrollViewStyle.qml b/src/controls/Styles/Android/ScrollViewStyle.qml
index 0105b9cb..3a026759 100644
--- a/src/controls/Styles/Android/ScrollViewStyle.qml
+++ b/src/controls/Styles/Android/ScrollViewStyle.qml
@@ -73,7 +73,7 @@ ScrollViewStyle {
styleDef: styleData.horizontal ? AndroidStyle.styleDef.scrollViewStyle.View_scrollbarTrackHorizontal
: AndroidStyle.styleDef.scrollViewStyle.View_scrollbarTrackVertical
focused: control.activeFocus
- window_focused: control.window && control.window.active
+ window_focused: control.Window.active
}
}
@@ -82,6 +82,6 @@ ScrollViewStyle {
: AndroidStyle.styleDef.scrollViewStyle.View_scrollbarThumbVertical
pressed: styleData.pressed
focused: control.activeFocus
- window_focused: control.window && control.window.active
+ window_focused: control.Window.active
}
}