Fix skin and locale at first run, adding new locale to combobox, exit function double call, enable sound option

This commit is contained in:
Henrique
2012-06-20 03:31:52 -03:00
parent eb457bf9cd
commit db4ced65eb
5 changed files with 19 additions and 10 deletions

View File

@@ -480,7 +480,6 @@ void Application::registerLuaFunctions()
// Application
g_lua.registerSingletonClass("g_app");
g_lua.bindSingletonFunction("g_app", "exit", &Application::exit, &g_app);
g_lua.bindSingletonFunction("g_app", "setForegroundPaneMaxFps", &Application::setForegroundPaneMaxFps, &g_app);
g_lua.bindSingletonFunction("g_app", "setBackgroundPaneMaxFps", &Application::setBackgroundPaneMaxFps, &g_app);
g_lua.bindSingletonFunction("g_app", "setName", &Application::setName, &g_app);