gui/widget/menue.cpp: fix parent arg for exec using menu action keys

Origin commit data
------------------
Branch: ni/coolstream
Commit: d7d181a7ae
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-09-27 (Fri, 27 Sep 2013)


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

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-09-27 12:52:52 +04:00
parent 027417806b
commit c2175ae367

View File

@@ -535,7 +535,7 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
std::map<neutrino_msg_t, keyAction>::iterator it = keyActionMap.find(msg); std::map<neutrino_msg_t, keyAction>::iterator it = keyActionMap.find(msg);
if (it != keyActionMap.end()) { if (it != keyActionMap.end()) {
fader.Stop(); fader.Stop();
int rv = it->second.menue->exec(parent, it->second.action); int rv = it->second.menue->exec(this, it->second.action);
switch ( rv ) { switch ( rv ) {
case menu_return::RETURN_EXIT_ALL: case menu_return::RETURN_EXIT_ALL:
retval = menu_return::RETURN_EXIT_ALL; retval = menu_return::RETURN_EXIT_ALL;