movieplayer: change usermenu call; use existing instance

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6fc8fb2bee
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- movieplayer: change usermenu call; use existing instance

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2015-12-14 23:07:53 +01:00
parent e26a06ed8f
commit a2047c8297
2 changed files with 4 additions and 5 deletions

View File

@@ -1181,12 +1181,10 @@ void CMoviePlayerGui::PlayFileLoop(void)
} else if (msg == CRCInput::RC_sat) {
//FIXME do nothing ?
} else if (msg == CRCInput::RC_red || msg == CRCInput::RC_green || msg == CRCInput::RC_yellow || msg == CRCInput::RC_blue ) {
//maybe move FileTime.kill to Usermenu to simplify this call
bool restore = FileTime.IsVisible();
FileTime.kill();
CUserMenu u;
u.showUserMenu(msg);
CNeutrinoApp::getInstance()->usermenu.showUserMenu(msg);
if (restore)
FileTime.show(position);
update_lcd = true;