quicksettings/hotspot: add settingsCommand

This commit is contained in:
Yari Polla 2023-03-20 11:56:06 +01:00
parent 4bdacff13c
commit 6317b0640d

View file

@ -23,6 +23,7 @@ QS.QuickSetting {
enabled: wirelessStatus.hotspotSSID.length !== 0
status: enabled ? wirelessStatus.hotspotSSID : ""
settingsCommand: "plasma-open-settings kcm_mobile_hotspot"
function toggle() {
if (!enabled) {
nmHandler.createHotspot();