disable modules, README, warning fixes
This commit is contained in:
parent
ed68b9fd93
commit
5ad933c03b
9 changed files with 215 additions and 24 deletions
|
|
@ -5,7 +5,7 @@ import "." as M
|
|||
M.BarSection {
|
||||
id: root
|
||||
spacing: M.Theme.moduleSpacing
|
||||
visible: root.state !== "unavailable"
|
||||
visible: M.Modules.bluetooth && root.state !== "unavailable"
|
||||
tooltip: {
|
||||
if (root.state === "off") return "Bluetooth: off";
|
||||
if (root.state === "connected") return "Bluetooth: " + root.device;
|
||||
|
|
@ -61,10 +61,9 @@ M.BarSection {
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
TapHandler {
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onClicked: {
|
||||
onTapped: {
|
||||
toggle.cmd = root.state === "off" ? "on" : "off";
|
||||
toggle.running = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue