mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user