summaryrefslogtreecommitdiff
path: root/src/controls/Switch.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Switch.qml')
-rw-r--r--src/controls/Switch.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Switch.qml b/src/controls/Switch.qml
index abfb79b0..d416b7f3 100644
--- a/src/controls/Switch.qml
+++ b/src/controls/Switch.qml
@@ -159,5 +159,5 @@ Control {
\codeline Qt.createComponent("path/to/style.qml", switchId);
*/
- style: Qt.createComponent(Settings.style + "/SwitchStyle.qml", root)
+ style: Settings.styleComponent(Settings.style, "SwitchStyle.qml", root)
}