https://bugs.kde.org/show_bug.cgi?id=465301

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n...@kde.org

--- Comment #1 from Nate Graham <n...@kde.org> ---
The logic in plasma/workspace/shell/osd.cpp looks correct to me:

void Osd::microphoneVolumeChanged(int percent)
{
    QString icon;
    if (percent <= 0) {
        icon = QStringLiteral("microphone-sensitivity-muted");
        showText(icon, i18nc("OSD informing that the microphone is muted, keep
short", "Microphone Muted"));
        return;
    } else if (percent <= 25) {
        icon = QStringLiteral("microphone-sensitivity-low");
    } else if (percent <= 75) {
        icon = QStringLiteral("microphone-sensitivity-medium");
    } else {
        icon = QStringLiteral("microphone-sensitivity-high");
    }

    showProgress(icon, percent, 100);
}

Maybe the code that calls this is sending the old percent, rather than the new
percent.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to