mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- no need to assign mainmenu as an argument to realrun()
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
|
||||
#include "global.h"
|
||||
#include "neutrino.h"
|
||||
#include "neutrino_menue.h"
|
||||
#include "version_pseudo.h"
|
||||
|
||||
#include <daemonc/remotecontrol.h>
|
||||
@@ -2172,7 +2173,7 @@ TIMER_STOP("################################## after all #######################
|
||||
}
|
||||
delete hintBox;
|
||||
}
|
||||
RealRun(personalize.getWidget(0)/**main**/);
|
||||
RealRun();
|
||||
|
||||
ExitRun(true, (cs_get_revision() > 7));
|
||||
|
||||
@@ -2260,9 +2261,9 @@ void CNeutrinoApp::screensaver(bool on)
|
||||
}
|
||||
}
|
||||
|
||||
void CNeutrinoApp::RealRun(CMenuWidget &_mainMenu)
|
||||
void CNeutrinoApp::RealRun()
|
||||
{
|
||||
mainMenu = &_mainMenu;
|
||||
mainMenu = &personalize.getWidget(MENU_MAIN);
|
||||
|
||||
neutrino_msg_t msg;
|
||||
neutrino_msg_data_t data;
|
||||
|
Reference in New Issue
Block a user