Nix useless tooltips
This commit is contained in:
@@ -175,8 +175,6 @@ Item {
|
|||||||
bar: root.bar
|
bar: root.bar
|
||||||
text: root.outputIcon()
|
text: root.outputIcon()
|
||||||
fontSize: 12
|
fontSize: 12
|
||||||
tooltipText: root.sink ? root.nodeLabel(root.sink) + " · " + Math.round(root.outputVolume * 100) + "%" : "No audio"
|
|
||||||
|
|
||||||
onPressed: function(b) {
|
onPressed: function(b) {
|
||||||
if (b === Qt.RightButton) root.toggleOutputMute()
|
if (b === Qt.RightButton) root.toggleOutputMute()
|
||||||
else if (b === Qt.MiddleButton) root.bar.run("omarchy-launch-audio")
|
else if (b === Qt.MiddleButton) root.bar.run("omarchy-launch-audio")
|
||||||
|
|||||||
@@ -99,8 +99,6 @@ Item {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
bar: root.bar
|
bar: root.bar
|
||||||
text: root.icon
|
text: root.icon
|
||||||
tooltipText: root.adapter ? (root.adapter.enabled ? "Bluetooth: " + root.connectedDevices.length + " connected" : "Bluetooth off") : ""
|
|
||||||
|
|
||||||
onPressed: function(b) {
|
onPressed: function(b) {
|
||||||
if (b === Qt.RightButton && root.adapter) root.adapter.enabled = !root.adapter.enabled
|
if (b === Qt.RightButton && root.adapter) root.adapter.enabled = !root.adapter.enabled
|
||||||
else if (b === Qt.MiddleButton) root.bar.run("omarchy-launch-bluetooth")
|
else if (b === Qt.MiddleButton) root.bar.run("omarchy-launch-bluetooth")
|
||||||
|
|||||||
Reference in New Issue
Block a user