Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
vladimir.kuznetsov
a8e04fdeba fix: return soft and hide strict killswitch 2025-07-08 10:11:47 +08:00
vladimir.kuznetsov
ce9f880280 chore: removed unnecessary qdebug 2025-07-07 14:09:41 +08:00
2 changed files with 8 additions and 9 deletions

View file

@ -221,8 +221,6 @@ namespace
serverConfig[configKey::apiConfig] = apiConfig;
qDebug() << serverConfig;
return ErrorCode::NoError;
}
}

View file

@ -62,8 +62,7 @@ PageType {
Layout.leftMargin: 16
Layout.rightMargin: 16
visible: false
// enabled: SettingsController.isKillSwitchEnabled && !ConnectionController.isConnected
enabled: SettingsController.isKillSwitchEnabled && !ConnectionController.isConnected
checked: !SettingsController.strictKillSwitchEnabled
text: qsTr("Soft KillSwitch")
@ -74,9 +73,7 @@ PageType {
}
}
DividerType {
visible: false
}
DividerType {}
VerticalRadioButton {
id: strictKillSwitch
@ -84,7 +81,9 @@ PageType {
Layout.leftMargin: 16
Layout.rightMargin: 16
enabled: SettingsController.isKillSwitchEnabled && !ConnectionController.isConnected
visible: false
enabled: false
// enabled: SettingsController.isKillSwitchEnabled && !ConnectionController.isConnected
checked: SettingsController.strictKillSwitchEnabled
text: qsTr("Strict KillSwitch")
@ -106,7 +105,9 @@ PageType {
}
}
DividerType {}
DividerType {
visible: false
}
LabelWithButtonType {
Layout.topMargin: 32