Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

get rid of unused code in CGUIDialogMuteBug

  • Loading branch information...
commit 046b429c2c47feabebd7db2b5caec792f655f36f 1 parent 3b112c1
Jonathan Marshall authored
View
4 xbmc/GUIUserMessages.h
@@ -73,10 +73,6 @@
#define GUI_MSG_SCAN_FINISHED GUI_MSG_USER + 13
-// Mute activated by the user
-#define GUI_MSG_MUTE_ON GUI_MSG_USER + 14
-#define GUI_MSG_MUTE_OFF GUI_MSG_USER + 15
-
// Player has requested the next item for caching purposes (PAPlayer)
#define GUI_MSG_QUEUE_NEXT_ITEM GUI_MSG_USER + 16
View
24 xbmc/dialogs/GUIDialogMuteBug.cpp
@@ -24,8 +24,6 @@
// the MuteBug is a true modeless dialog
-#define MUTEBUG_IMAGE 901
-
CGUIDialogMuteBug::CGUIDialogMuteBug(void)
: CGUIDialog(WINDOW_DIALOG_MUTE_BUG, "DialogMuteBug.xml")
{
@@ -35,25 +33,3 @@ CGUIDialogMuteBug::CGUIDialogMuteBug(void)
CGUIDialogMuteBug::~CGUIDialogMuteBug(void)
{}
-bool CGUIDialogMuteBug::OnMessage(CGUIMessage& message)
-{
- switch ( message.GetMessage() )
- {
- case GUI_MSG_MUTE_OFF:
- {
- Close();
- return true;
- }
- break;
-
- case GUI_MSG_MUTE_ON:
- {
- // this is handled in g_application
- // non-active modeless window can not get messages
- //Show();
- return true;
- }
- break;
- }
- return CGUIDialog::OnMessage(message);
-}
View
1  xbmc/dialogs/GUIDialogMuteBug.h
@@ -28,6 +28,5 @@ class CGUIDialogMuteBug : public CGUIDialog
public:
CGUIDialogMuteBug(void);
virtual ~CGUIDialogMuteBug(void);
- virtual bool OnMessage(CGUIMessage& message);
protected:
};
Please sign in to comment.
Something went wrong with that request. Please try again.