Skip to content

Commit e24314f

Browse files
author
raupy
committed
new ipc calls
1 parent 385aa9e commit e24314f

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

Modules/Bar/Widgets/Battery.qml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -164,16 +164,6 @@ Item {
164164
id: contextMenu
165165

166166
model: [
167-
{
168-
"label": I18n.tr("context-menu.wifi"),
169-
"action": "wifi",
170-
"icon": "wifi"
171-
},
172-
{
173-
"label": I18n.tr("context-menu.bluetooth"),
174-
"action": "bluetooth",
175-
"icon": "bluetooth"
176-
},
177167
{
178168
"label": I18n.tr("context-menu.widget-settings"),
179169
"action": "widget-settings",
@@ -189,10 +179,6 @@ Item {
189179

190180
if (action === "widget-settings") {
191181
BarService.openWidgetSettings(screen, section, sectionWidgetIndex, widgetId, widgetSettings);
192-
} else if (action === "wifi") {
193-
PanelService.getPanel("wifiPanel", screen)?.toggle(pill);
194-
} else if (action === "bluetooth") {
195-
PanelService.getPanel("bluetoothPanel", screen)?.toggle(pill);
196182
}
197183
}
198184
}

0 commit comments

Comments
 (0)