From 5857ea03a77e44879191dd922b7c38c49616517b Mon Sep 17 00:00:00 2001 From: Jens Bache-Wiig Date: Thu, 11 Apr 2013 19:49:39 +0200 Subject: Remove hard dependency on widgets Change-Id: I1fabb4efcc931f12f0a65ac5c66e6e085108269b Reviewed-by: J-P Nurmi --- src/controls/RadioButton.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/controls/RadioButton.qml') diff --git a/src/controls/RadioButton.qml b/src/controls/RadioButton.qml index 87f57257..e3173934 100644 --- a/src/controls/RadioButton.qml +++ b/src/controls/RadioButton.qml @@ -41,7 +41,6 @@ import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Controls.Private 1.0 -import "Styles/Settings.js" as Settings /*! \qmltype RadioButton @@ -87,7 +86,7 @@ AbstractCheckable { \codeline Qt.createComponent("path/to/style.qml", radioButtonId); */ - style: Qt.createComponent(Settings.THEME_PATH + "/RadioButtonStyle.qml", radioButton) + style: Qt.createComponent(Settings.theme() + "/RadioButtonStyle.qml", radioButton) __cycleStatesHandler: function() { checked = !checked; } } -- cgit v1.2.1