Audioplayer: Remove special handling for display mute icon

This commit is contained in:
Michael Liebmann
2013-11-04 11:51:05 +01:00
parent 7de3ac679e
commit bace5ce91b
6 changed files with 2 additions and 29 deletions

View File

@@ -105,11 +105,6 @@ void CVolume::setVolume(const neutrino_msg_t key)
if (CNeutrinoApp::getInstance()->isMuted() && (dir > 0 || g_settings.current_volume > 0)) {
hideVolscale();
CAudioMute::getInstance()->AudioMute(false, true);
if (mode == CNeutrinoApp::mode_audio) {
CAudioPlayerGui *cap = CMediaPlayerMenu::getInstance()->getPlayerInstance();
if (cap != NULL)
cap->refreshMuteIcon();
}
setVolume(msg);
return;
}
@@ -126,11 +121,6 @@ void CVolume::setVolume(const neutrino_msg_t key)
if (g_settings.show_mute_icon) {
hideVolscale();
CAudioMute::getInstance()->AudioMute(true, true);
if (mode == CNeutrinoApp::mode_audio) {
CAudioPlayerGui *cap = CMediaPlayerMenu::getInstance()->getPlayerInstance();
if (cap != NULL)
cap->refreshMuteIcon();
}
setVolume(msg);
return;
}