mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- neutrino: unify modes handling; ...
remove double enum from CNeutrinoApp and move mostly used enum from NeutrinoMessages to new NeutrinoModes Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -282,7 +282,7 @@ int CLuaInstVideo::channelRezap(lua_State *L)
|
||||
/* CLuaVideo *D = VideoCheckData(L, 1);
|
||||
if (!D) return 0; */
|
||||
CNeutrinoApp::getInstance()->channelRezap();
|
||||
if (CNeutrinoApp::getInstance()->getMode() == CNeutrinoApp::mode_radio)
|
||||
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_radio)
|
||||
CFrameBuffer::getInstance()->showFrame("radiomode.jpg");
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user