- no need to assign mainmenu as an argument to realrun()

This commit is contained in:
svenhoefer
2016-06-23 15:42:14 +02:00
parent 62861c5f96
commit 0c0b1981f6
4 changed files with 18 additions and 19 deletions

View File

@@ -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;