searchui/searchapplication/src/main.cpp
changeset 26 367228f82b66
parent 21 708468d5143e
equal deleted inserted replaced
24:1abfa342db42 26:367228f82b66
    40 
    40 
    41     QTranslator commonTranslator;
    41     QTranslator commonTranslator;
    42     commonTranslator.load("common_" + lang, path);
    42     commonTranslator.load("common_" + lang, path);
    43     search.installTranslator(&commonTranslator);
    43     search.installTranslator(&commonTranslator);
    44 
    44 
    45     QTranslator musicTranslator;
       
    46     musicTranslator.load("musicplayer_" + lang, path);
       
    47     search.installTranslator(&musicTranslator);
       
    48 
    45 
    49     QTranslator contactsTranslator;
       
    50     contactsTranslator.load("contacts_" + lang, path);
       
    51     search.installTranslator(&contactsTranslator);
       
    52 
       
    53     QTranslator calenderTranslator;
       
    54     calenderTranslator.load("calendar_" + lang, path);
       
    55     search.installTranslator(&calenderTranslator);
       
    56 
       
    57     QTranslator notesTranslator;
       
    58     notesTranslator.load("notes_" + lang, path);
       
    59     search.installTranslator(&notesTranslator);
       
    60     PERF_APP_LAUNCH_END("Search Component Cunstructions starts");
    46     PERF_APP_LAUNCH_END("Search Component Cunstructions starts");
    61 
    47 
    62     PERF_APP_LAUNCH_END("Search Component Cunstructions Ends");
    48     PERF_APP_LAUNCH_END("Search Component Cunstructions Ends");
    63 #ifdef ROM
    49 #ifdef ROM
    64     QDir::setCurrent("Z:/");
    50     QDir::setCurrent("Z:/");