diff -r 7d88c1eb7da3 -r 751cd8585b82 deviceupdatesui/cpqtsp/src/main.cpp --- a/deviceupdatesui/cpqtsp/src/main.cpp Fri Jun 11 16:23:35 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,45 +0,0 @@ -/* -* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* Bio control for Provisioning documents. -* -*/ - -#include -#include -#include -#include -#include - -int main(int argc, char **argv) -{ - HbApplication a( argc, argv ); - - QTranslator *translator = new QTranslator(); - QString lang = QLocale::system().name(); - QString path = "Z:/resource/qt/translations/"; - bool fine = translator->load("deviceupdates_en.qm", path); - if (fine) - qApp->installTranslator(translator); - - QTranslator *commontranslator = new QTranslator(); - fine = commontranslator->load("common_" + lang, path); - if (fine) - qApp->installTranslator(commontranslator); - - CpQtSpMainWindow mainWindow; - mainWindow.show(); - return a.exec(); -} -