summaryrefslogtreecommitdiff
path: root/src/controls/RadioButton.qml
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2013-04-11 19:49:39 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-15 15:09:57 +0200
commit5857ea03a77e44879191dd922b7c38c49616517b (patch)
treebff6d278b83e1ee1699ae36a89dfea463d08caa9 /src/controls/RadioButton.qml
parent2b309cf52dfff7307a055b2662e7ce1a53d44bdb (diff)
downloadqtquickcontrols-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.qml3
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; }
}