From a3921bcf01275425350c9c153fe92086a34d1403 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Fri, 6 Mar 2015 11:52:10 +0100 Subject: Implement Style as an attached property Change-Id: I006ee566647e31d1a14919d164d7dd68539aae10 Reviewed-by: Jari-Pekka Nurmi --- src/imports/extras/Drawer.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/imports/extras') 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 -- cgit v1.2.3