aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/ScrollIndicator.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-03-06 11:52:10 +0100
committerJari-Pekka Nurmi <jpnurmi@theqtcompany.com>2015-03-11 01:06:44 +0200
commita3921bcf01275425350c9c153fe92086a34d1403 (patch)
tree1c5c4dd36e9d19a36281bde723c7bf989bc70298 /src/imports/controls/ScrollIndicator.qml
parente9398b7465c7df38876d0c6528ea5c42bbd8bf6a (diff)
Implement Style as an attached property
Change-Id: I006ee566647e31d1a14919d164d7dd68539aae10 Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/ScrollIndicator.qml')
-rw-r--r--src/imports/controls/ScrollIndicator.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/ScrollIndicator.qml b/src/imports/controls/ScrollIndicator.qml
index a6684330..b253ca03 100644
--- a/src/imports/controls/ScrollIndicator.qml
+++ b/src/imports/controls/ScrollIndicator.qml
@@ -55,7 +55,7 @@ AbstractScrollIndicator {
implicitWidth: 2
implicitHeight: 2
- color: style.frameColor
+ color: control.Style.frameColor
visible: control.size < 1.0
opacity: 0.0
@@ -68,7 +68,7 @@ AbstractScrollIndicator {
states: State {
name: "active"
when: control.active
- PropertyChanges { target: indicator; opacity: 1.0 - style.disabledOpacity }
+ PropertyChanges { target: indicator; opacity: 1.0 - control.Style.disabledOpacity }
}
transitions: [