properly hide stuff in boxsettings too
This commit is contained in:
parent
4cf8a8a886
commit
ee56f81efb
@ -59,6 +59,7 @@ Page {
|
|||||||
Pane {
|
Pane {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Material.elevation: layout.isGrid ? 1 : 0
|
Material.elevation: layout.isGrid ? 1 : 0
|
||||||
|
visible: engine.jsonRpcClient.ensureServerVersion("1.9")
|
||||||
|
|
||||||
padding: 0
|
padding: 0
|
||||||
MeaListItemDelegate {
|
MeaListItemDelegate {
|
||||||
@ -68,7 +69,6 @@ Page {
|
|||||||
subText: qsTr("Connect this box to %1:cloud").arg(app.systemName)
|
subText: qsTr("Connect this box to %1:cloud").arg(app.systemName)
|
||||||
prominentSubText: false
|
prominentSubText: false
|
||||||
wrapTexts: false
|
wrapTexts: false
|
||||||
visible: engine.jsonRpcClient.ensureServerVersion("1.9")
|
|
||||||
onClicked: pageStack.push(Qt.resolvedUrl("system/CloudSettingsPage.qml"))
|
onClicked: pageStack.push(Qt.resolvedUrl("system/CloudSettingsPage.qml"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -92,6 +92,7 @@ Page {
|
|||||||
Pane {
|
Pane {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Material.elevation: layout.isGrid ? 1 : 0
|
Material.elevation: layout.isGrid ? 1 : 0
|
||||||
|
visible: engine.jsonRpcClient.ensureServerVersion("1.11")
|
||||||
|
|
||||||
padding: 0
|
padding: 0
|
||||||
MeaListItemDelegate {
|
MeaListItemDelegate {
|
||||||
@ -101,7 +102,6 @@ Page {
|
|||||||
subText: qsTr("Configure the MQTT broker")
|
subText: qsTr("Configure the MQTT broker")
|
||||||
prominentSubText: false
|
prominentSubText: false
|
||||||
wrapTexts: false
|
wrapTexts: false
|
||||||
visible: engine.jsonRpcClient.ensureServerVersion("1.11")
|
|
||||||
onClicked: pageStack.push(Qt.resolvedUrl("system/MqttBrokerSettingsPage.qml"))
|
onClicked: pageStack.push(Qt.resolvedUrl("system/MqttBrokerSettingsPage.qml"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,7 +16,7 @@ Page {
|
|||||||
height: app.iconSize
|
height: app.iconSize
|
||||||
width: height
|
width: height
|
||||||
name: "../images/logs.svg"
|
name: "../images/logs.svg"
|
||||||
visible: settings.showHiddenOptions
|
visible: settings.showHiddenOptions && AppLogController.enabled
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|||||||
Reference in New Issue
Block a user