invoke plasma-settings for wifi and broadband

This commit is contained in:
Marco Martin 2020-08-20 13:07:53 +02:00
parent b690c533d1
commit 96420f5080

View file

@ -147,7 +147,7 @@ Item {
settingsModel.append({ settingsModel.append({
"text": i18n("Wifi"), "text": i18n("Wifi"),
"icon": "network-wireless-signal", "icon": "network-wireless-signal",
"settingsCommand": "", "settingsCommand": "plasma-settings -m kcm_mobile_wifi",
"toggleFunction": "toggleWifi", "toggleFunction": "toggleWifi",
"delegate": "", "delegate": "",
"enabled": enabledConnections.wirelessEnabled, "enabled": enabledConnections.wirelessEnabled,
@ -156,7 +156,7 @@ Item {
settingsModel.append({ settingsModel.append({
"text": i18n("Mobile Data"), "text": i18n("Mobile Data"),
"icon": "network-modem", "icon": "network-modem",
"settingsCommand": "", "settingsCommand": "plasma-settings -m kcm_mobile_broadband",
"toggleFunction": "toggleWwan", "toggleFunction": "toggleWwan",
"delegate": "", "delegate": "",
"enabled": enabledConnections.wwanEnabled, "enabled": enabledConnections.wwanEnabled,