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

@@ -91,11 +91,9 @@ int CMediaPlayerMenu::exec(CMenuTarget* parent, const std::string &actionKey)
CAudioMute *audiomute = CAudioMute::getInstance();
if (actionKey == "audioplayer")
{
audiomute->enableMuteIcon(false);
if (audioPlayer == NULL)
audioPlayer = new CAudioPlayerGui();
int res = audioPlayer->exec(NULL, "init");
audiomute->enableMuteIcon(true);
return res /*menu_return::RETURN_REPAINT*/;
}
else if (actionKey == "inetplayer")