Skip to content

Commit

Permalink
libxbmc: move PreFlight() call into CApp
Browse files Browse the repository at this point in the history
  • Loading branch information
theuni committed Jun 7, 2012
1 parent 4d8a9bb commit bf0a52c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions xbmc/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ void CApplication::Preflight()

bool CApplication::Create()
{
Preflight();
g_settings.Initialize(); //Initialize default AdvancedSettings

#ifdef _LINUX
Expand Down
1 change: 0 additions & 1 deletion xbmc/xbmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ int main(int argc, char* argv[])
CAppParamParser appParamParser;
appParamParser.Parse((const char **)argv, argc);
#endif
g_application.Preflight();
if (!g_application.Create())
{
fprintf(stderr, "ERROR: Unable to create application. Exiting\n");
Expand Down

0 comments on commit bf0a52c

Please sign in to comment.