diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-04-11 19:49:39 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-15 15:09:57 +0200 |
commit | 5857ea03a77e44879191dd922b7c38c49616517b (patch) | |
tree | bff6d278b83e1ee1699ae36a89dfea463d08caa9 /src/controls/RadioButton.qml | |
parent | 2b309cf52dfff7307a055b2662e7ce1a53d44bdb (diff) | |
download | qtquickcontrols-5857ea03a77e44879191dd922b7c38c49616517b.tar.gz |
Remove hard dependency on widgets
Change-Id: I1fabb4efcc931f12f0a65ac5c66e6e085108269b
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/RadioButton.qml')
-rw-r--r-- | src/controls/RadioButton.qml | 3 |
1 files changed, 1 insertions, 2 deletions
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; } } |