mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-27 06:33:08 +00:00
remove default status
This commit is contained in:
parent
d37324ee43
commit
884e0a4216
1 changed files with 0 additions and 5 deletions
|
|
@ -9,8 +9,6 @@ import org.kde.plasma.private.mobileshell 1.0 as MobileShell
|
|||
MobileShell.QuickSetting {
|
||||
id: root
|
||||
|
||||
readonly property string defaultStatus: i18n("Tap to enable hotspot")
|
||||
|
||||
PlasmaNM.Handler {
|
||||
id: nmHandler
|
||||
}
|
||||
|
|
@ -19,7 +17,6 @@ MobileShell.QuickSetting {
|
|||
icon: "network-wireless-hotspot"
|
||||
|
||||
enabled: false
|
||||
status: defaultStatus
|
||||
|
||||
function toggle() {
|
||||
if (!enabled) {
|
||||
|
|
@ -34,12 +31,10 @@ MobileShell.QuickSetting {
|
|||
|
||||
function onHotspotCreated() {
|
||||
root.enabled = true;
|
||||
root.status = "";
|
||||
}
|
||||
|
||||
function onHotspotDisabled() {
|
||||
root.enabled = false;
|
||||
root.status = defaultStatus;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue