diff -r 4b686cfad39d -r e6894b852bc6 notes/notesui/notesapplication/src/main.cpp --- a/notes/notesui/notesapplication/src/main.cpp Tue Jun 15 15:22:54 2010 +0100 +++ b/notes/notesui/notesapplication/src/main.cpp Thu Jul 22 16:32:51 2010 +0100 @@ -17,10 +17,9 @@ // System includes #include -#include #include #include - +#include // User includes #include "notesappcontroller.h" @@ -42,9 +41,8 @@ window.setViewportUpdateMode(QGraphicsView::MinimalViewportUpdate); // Load the translation file. - QTranslator notesViewsTranslator; - notesViewsTranslator.load("notes",":/translations"); - app.installTranslator(¬esViewsTranslator); + HbTranslator notesViewsTranslator("notes"); + notesViewsTranslator.loadCommon(); // Construct the application controller. QScopedPointer controller(new NotesAppController);