mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
movieplayer: remove obsolete static bool running handling
Origin commit data
------------------
Commit: 94c22c7ebe
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-27 (Wed, 27 Dec 2017)
Origin message was:
------------------
- movieplayer: remove obsolete static bool running handling
This commit is contained in:
@@ -374,13 +374,9 @@ void CMoviePlayerGui::restoreNeutrino()
|
||||
printf("%s: restoring done.\n", __func__);fflush(stdout);
|
||||
}
|
||||
|
||||
static bool running = false;
|
||||
int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
|
||||
{
|
||||
printf("[movieplayer] actionKey=%s\n", actionKey.c_str());
|
||||
if (running)
|
||||
return menu_return::RETURN_EXIT_ALL;
|
||||
running = true;
|
||||
|
||||
if (parent)
|
||||
parent->hide();
|
||||
@@ -476,7 +472,6 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
|
||||
haveLuaInfoFunc = false;
|
||||
}
|
||||
else {
|
||||
running = false;
|
||||
return menu_return::RETURN_REPAINT;
|
||||
}
|
||||
|
||||
@@ -509,8 +504,6 @@ int CMoviePlayerGui::exec(CMenuTarget * parent, const std::string & actionKey)
|
||||
|
||||
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
|
||||
|
||||
running = false;
|
||||
|
||||
if (timeshift != TSHIFT_MODE_OFF){
|
||||
timeshift = TSHIFT_MODE_OFF;
|
||||
return menu_return::RETURN_EXIT_ALL;
|
||||
|
Reference in New Issue
Block a user