CUpnpBrowserGui: block infoclock

Infoclock was not blocked in all modes, e.g. after stopped video
infoclock was unblocked and clock was back on screen. Clock should be now
not visible while upnp browser window is openend.
This commit is contained in:
2016-03-03 09:24:16 +01:00
parent 8c4bdb382a
commit 2358c6333e

View File

@@ -47,7 +47,7 @@
#include <gui/widget/messagebox.h>
#include <gui/widget/hintbox.h>
#include <system/settings.h>
#include <gui/infoclock.h>
#include <gui/upnpbrowser.h>
#include <zapit/zapit.h>
#include <video.h>
@@ -1115,6 +1115,9 @@ void CUpnpBrowserGui::paintItems(std::vector<UPnPEntry> *entry, unsigned int sel
printf("CUpnpBrowserGui::paintItem:s selected %d max %d offset %d\n", selected, max, offset);
int ypos, top;
//block infoclock
CInfoClock::getInstance()->block();
// LCD
CVFD::getInstance()->setMode(CVFD::MODE_MENU_UTF8, "Select UPnP Entry");