removed suppression of first DisplayChannel call after VDR start

This commit is contained in:
louis 2015-01-21 18:15:29 +01:00
parent 3a6dced6c1
commit 07fa0e71ef
4 changed files with 4 additions and 9 deletions

View File

@ -166,3 +166,5 @@ Version 0.1.4
Version 0.1.5
- removed suppression of first DisplayChannel call after VDR start

View File

@ -87,14 +87,12 @@ public:
};
#ifdef DEFINE_CONFIG
bool firstDisplay = true;
cDesignerConfig config;
cFontManager *fontManager = NULL;
cImageCache *imgCache = NULL;
cTheme Theme;
cRecordingsFolderInfo recFolderInfo(Recordings);
#else
extern bool firstDisplay;
extern cDesignerConfig config;
extern cFontManager *fontManager;
extern cImageCache *imgCache;

View File

@ -49,7 +49,6 @@ cSkinDisplayMenu *cSkinDesigner::DisplayMenu(void) {
if (!useBackupSkin) {
cSDDisplayMenu *displayMenu = NULL;
Init();
firstDisplay = false;
displayMenu = new cSDDisplayMenu(menuTemplate);
currentMenu = displayMenu;
return displayMenu;

View File

@ -3,12 +3,8 @@
cSDDisplayChannel::cSDDisplayChannel(cTemplate *channelTemplate, bool WithInfo) {
channelView = NULL;
if (firstDisplay) {
firstDisplay = false;
doOutput = false;
return;
} else if (!channelTemplate) {
esyslog("skindesigner: displayChannel no valid template - aborting");
if (!channelTemplate) {
doOutput = false;
return;
} else {