* Various changes for reworked mute icon handling in some classes

- mute icon disabled for moviebrowser, upnpbrowser, pictureviewer
- extra handling for audioplayer
This commit is contained in:
Michael Liebmann
2013-05-13 04:30:36 +02:00
parent 1049b337bb
commit bf1c7bfdb7
9 changed files with 46 additions and 11 deletions

View File

@@ -52,6 +52,7 @@
#include <daemonc/remotecontrol.h>
#include <gui/audiomute.h>
#include <gui/eventlist.h>
#include <gui/color.h>
#include <gui/infoviewer.h>
@@ -396,6 +397,8 @@ void CUpnpBrowserGui::selectDevice()
return;
}
CAudioMute::getInstance()->enableMuteIcon(false);
while (loop)
{
if (changed)
@@ -488,6 +491,8 @@ void CUpnpBrowserGui::selectDevice()
}
}
delete scanBox;
CAudioMute::getInstance()->enableMuteIcon(true);
}
//------------------------------------------------------------------------