summaryrefslogtreecommitdiff
path: root/utils/Icons.qml
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Icons.qml')
-rw-r--r--utils/Icons.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/Icons.qml b/utils/Icons.qml
index cf81d67..826ccbe 100644
--- a/utils/Icons.qml
+++ b/utils/Icons.qml
@@ -184,6 +184,12 @@ Singleton {
return "volume_mute";
}
+ function getMicVolumeIcon(volume: real, isMuted: bool): string {
+ if (!isMuted && volume > 0)
+ return "mic";
+ return "mic_off";
+ }
+
function getSpecialWsIcon(name: string): string {
name = name.toLowerCase().slice("special:".length);
if (name === "special")