Commit c3b0b623 authored by Alexander Lohnau's avatar Alexander Lohnau 💬 Committed by Kai Uwe Broulik
Browse files

Allow to mute/unmute microphone with left-click in system tray

This makes is very easy to mute when you are in the tablet mode
and use the touch/pen input for the interactions.

Considering that left clicking currently does nothing
it should not disrupt anyone's workflow.
parent d0140c03
......@@ -93,6 +93,7 @@ void MicrophoneIndicator::update()
// but also middle click to be consistent with volume icon
connect(m_sni, &KStatusNotifierItem::secondaryActivateRequested, this, &MicrophoneIndicator::toggleMuted);
connect(m_sni, &KStatusNotifierItem::activateRequested, this, &MicrophoneIndicator::toggleMuted);
connect(m_sni, &KStatusNotifierItem::scrollRequested, this, [this](int delta, Qt::Orientation orientation) {
if (orientation != Qt::Vertical) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment