Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 0849bc45 authored by Burkhard Lück's avatar Burkhard Lück

Fix wrong computation of volume % value in muted state in tooltip

REVIEW:115124
parent 581ab6cc
......@@ -126,7 +126,7 @@ VolumePopupButton::muteStateChanged( bool muted )
{
const float volume = JuK::JuKInstance()->playerManager()->volume();
setIcon( KIcon( "audio-volume-muted" ) );
setToolTip( i18n( "Volume: %1% %2", volume, ( muted ? i18n( "(muted)" ) : "" ) ) );
setToolTip( i18n( "Volume: %1% (muted)", int( 100 * volume ) ) );
}
else
{
......
Markdown is supported
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