summaryrefslogtreecommitdiff
path: root/examples/webengine/customdialogs/SwitchButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/webengine/customdialogs/SwitchButton.qml')
-rw-r--r--examples/webengine/customdialogs/SwitchButton.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/webengine/customdialogs/SwitchButton.qml b/examples/webengine/customdialogs/SwitchButton.qml
index bb9a344f5..55005899a 100644
--- a/examples/webengine/customdialogs/SwitchButton.qml
+++ b/examples/webengine/customdialogs/SwitchButton.qml
@@ -48,9 +48,9 @@
**
****************************************************************************/
-import QtQuick 2.0
-import QtQuick.Controls 1.4 as Controls
-import QtQuick.Layouts 1.3
+import QtQuick
+import QtQuick.Controls
+import QtQuick.Layouts
Item {
width: parent.width
@@ -62,7 +62,7 @@ Item {
text: qsTr("Use default dialogs")
font.pointSize: 12
}
- Controls.Switch {
+ Switch {
id: switcher
checked: true
}