diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-03-06 11:52:10 +0100 |
---|---|---|
committer | Jari-Pekka Nurmi <jpnurmi@theqtcompany.com> | 2015-03-11 01:06:44 +0200 |
commit | a3921bcf01275425350c9c153fe92086a34d1403 (patch) | |
tree | 1c5c4dd36e9d19a36281bde723c7bf989bc70298 /src/imports/extras | |
parent | e9398b7465c7df38876d0c6528ea5c42bbd8bf6a (diff) |
Implement Style as an attached property
Change-Id: I006ee566647e31d1a14919d164d7dd68539aae10
Reviewed-by: Jari-Pekka Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/extras')
-rw-r--r-- | src/imports/extras/Drawer.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/extras/Drawer.qml b/src/imports/extras/Drawer.qml index 831c18d8..b1347142 100644 --- a/src/imports/extras/Drawer.qml +++ b/src/imports/extras/Drawer.qml @@ -45,8 +45,8 @@ AbstractDrawer { height: parent.height // TODO: Window.height background: Rectangle { - color: style.shadowColor - opacity: position * style.disabledOpacity + color: control.Style.shadowColor + opacity: position * control.Style.disabledOpacity } // TODO: make this a proper transition |