Ticket #5853: InstallerToolsMenu.patch

File InstallerToolsMenu.patch, 686 bytes (added by Karvjorm, 14 years ago)

Initialization of application localization catalog moved.

  • src/apps/installer/InstallerApp.cpp

     
    5555
    5656InstallerApp::InstallerApp()
    5757    :
    58     BApplication("application/x-vnd.Haiku-Installer")
     58    BApplication("application/x-vnd.Haiku-Installer"),
     59    fCatalog(NULL)
    5960{
     61    // Initilialize the Locale Kit
     62    be_locale->GetAppCatalog(&fCatalog);
    6063}
    6164
    6265
     
    99102void
    100103InstallerApp::ReadyToRun()
    101104{
    102     // Initilialize the Locale Kit
    103     be_locale->GetAppCatalog(&fCatalog);
    104 
    105105    const char* infoText = TR(
    106106        "Welcome to the Haiku Installer!\n\n"
    107107