Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma PulseAudio Applet
Commits
569b5ae4
Commit
569b5ae4
authored
Feb 27, 2021
by
Kai Uwe Broulik
🍇
Browse files
[Microphone Indicator] Denote muted state in tooltip
Makes it more obvious than just changing the icon.
parent
9b8a0218
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/qml/microphoneindicator.cpp
View file @
569b5ae4
...
...
@@ -146,7 +146,9 @@ void MicrophoneIndicator::update()
m_sni
->
setTitle
(
i18n
(
"Microphone"
));
m_sni
->
setIconByName
(
iconName
);
m_sni
->
setToolTip
(
QIcon
::
fromTheme
(
iconName
),
i18n
(
"Microphone"
),
toolTipForApps
(
apps
));
m_sni
->
setToolTip
(
QIcon
::
fromTheme
(
iconName
),
allMuted
?
i18n
(
"Microphone Muted"
)
:
i18n
(
"Microphone"
),
toolTipForApps
(
apps
));
if
(
m_muteAction
)
{
m_muteAction
->
setChecked
(
allMuted
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment