summaryrefslogtreecommitdiffstats
path: root/src/settingsui/network/NetworkSettings.qml
diff options
context:
space:
mode:
authorKimmo Ollila <kimmo.ollila@theqtcompany.com>2016-05-11 12:52:49 +0300
committerKimmo Ollila <kimmo.ollila@theqtcompany.com>2016-05-13 13:11:35 +0000
commit15ac9af2680d63321403f49eca03cdb192851bd3 (patch)
treedcc08c12c6c6ac8bc6a5cb67e45016df349a5ac5 /src/settingsui/network/NetworkSettings.qml
parent046ad79065faff555168bae13e3414b23b0521a8 (diff)
Separated SettingsUI to its own plugin.
Change-Id: I7893231ab2d18270183f9838456d0e48cdc63186 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Diffstat (limited to 'src/settingsui/network/NetworkSettings.qml')
-rw-r--r--src/settingsui/network/NetworkSettings.qml7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/settingsui/network/NetworkSettings.qml b/src/settingsui/network/NetworkSettings.qml
index 4fb1c0f..87df833 100644
--- a/src/settingsui/network/NetworkSettings.qml
+++ b/src/settingsui/network/NetworkSettings.qml
@@ -35,9 +35,7 @@
****************************************************************************/
import QtQuick 2.6
import QtQuick.Layouts 1.3
-import Qt.labs.controls 1.0
-import Qt.labs.controls.material 1.0
-import Qt.labs.controls.universal 1.0
+import QtQuick.Controls 2.0
import com.theqtcompany.settings.network 1.0
Item {
@@ -81,9 +79,8 @@ Item {
id: btn
Layout.fillWidth: true
implicitHeight: 54
- checkable: true
- label: Rectangle {
+ contentItem: Rectangle {
color: checked ? "#80c342" : "white"
border.color: "#bdbebf"
border.width: 1