searchui/Searchapplication/src/main.cpp
changeset 12 993ab30e92fc
parent 11 773be20e0a25
child 17 7d8c8d8f5eab
equal deleted inserted replaced
11:773be20e0a25 12:993ab30e92fc
    13  *
    13  *
    14  * Description:  Search application main implementation.
    14  * Description:  Search application main implementation.
    15  *
    15  *
    16  */
    16  */
    17 
    17 
    18 #include "search.h"
    18 #include "searchapplication.h"
    19 #include "search_global.h"
    19 #include "search_global.h"
    20 
    20 
    21 #include <QtGui>
    21 #include <QtGui>
    22 #include <hbapplication.h>
    22 #include <hbapplication.h>
    23 #include <qtranslator.h>
    23 #include <qtranslator.h>
    57 
    57 
    58     QTranslator notesTranslator;
    58     QTranslator notesTranslator;
    59     notesTranslator.load("notes_" + lang, path);
    59     notesTranslator.load("notes_" + lang, path);
    60     app.installTranslator(&notesTranslator);
    60     app.installTranslator(&notesTranslator);
    61     PERF_APP_LAUNCH_END("Search Component Cunstructions starts");
    61     PERF_APP_LAUNCH_END("Search Component Cunstructions starts");
    62     Search search;
    62     SearchApplication search;
    63     PERF_APP_LAUNCH_END("Search Component Cunstructions Ends");
    63     PERF_APP_LAUNCH_END("Search Component Cunstructions Ends");
    64 #ifdef ROM
    64 #ifdef ROM
    65     QDir::setCurrent("Z:/");
    65     QDir::setCurrent("Z:/");
    66 #else
    66 #else
    67     QDir::setCurrent("C:/");
    67     QDir::setCurrent("C:/");