gui/upnpbrowser: leave infoclock alone

This commit is contained in:
martii
2013-12-29 12:44:22 +01:00
committed by Jacek Jendrzej
parent 6fff156164
commit ce0d122813

View File

@@ -51,7 +51,6 @@
#include <gui/audiomute.h>
#include <gui/color.h>
#include <gui/infoclock.h>
#include <gui/movieplayer.h>
#include <gui/components/cc.h>
@@ -67,7 +66,6 @@
extern cVideo * videoDecoder;
extern CPictureViewer * g_PicViewer;
extern CInfoClock *InfoClock;
const struct button_label RescanButton = {NEUTRINO_ICON_BUTTON_BLUE , LOCALE_UPNPBROWSER_RESCAN};
const struct button_label BrowseButtons[4] =
@@ -454,9 +452,6 @@ void CUpnpBrowserGui::selectDevice()
if (!discoverDevices())
return;
CAudioMute::getInstance()->enableMuteIcon(false);
InfoClock->enableInfoClock(false);
while (loop)
{
if (refresh)
@@ -545,7 +540,6 @@ printf("msg: %x\n", (int) msg);
}
}
CAudioMute::getInstance()->enableMuteIcon(true);
InfoClock->enableInfoClock(true);
}
void CUpnpBrowserGui::playnext(void)