mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 02:41:12 +02:00
timerlist: don't cast saved_displaymode
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0e4a4c1e9b
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-13 (Mon, 13 Nov 2017)
Origin message was:
------------------
- timerlist: don't cast saved_displaymode
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -48,7 +48,6 @@
|
||||
#include <driver/screen_max.h>
|
||||
#include <driver/fade.h>
|
||||
#include <driver/record.h>
|
||||
#include <driver/display.h>
|
||||
|
||||
#include <gui/channellist.h>
|
||||
#include <gui/color.h>
|
||||
@@ -287,8 +286,7 @@ CTimerList::CTimerList()
|
||||
httpConnectTimeout = 300; // ms
|
||||
changed = false;
|
||||
|
||||
/* most probable default */
|
||||
saved_dispmode = (int)CVFD::getInstance()->getMode();
|
||||
saved_displaymode = CVFD::getInstance()->getMode();
|
||||
}
|
||||
|
||||
CTimerList::~CTimerList()
|
||||
@@ -631,7 +629,7 @@ int CTimerList::exec(CMenuTarget* parent, const std::string & actionKey)
|
||||
}
|
||||
|
||||
int ret = show();
|
||||
CVFD::getInstance()->setMode((CVFD::MODES)saved_dispmode);
|
||||
CVFD::getInstance()->setMode(saved_displaymode);
|
||||
|
||||
return ret;
|
||||
/*
|
||||
|
Reference in New Issue
Block a user