From 3fa84c3274d586ccba0ab8ae41487aadc50a7474 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 2 Feb 2015 19:05:08 +0300 Subject: [PATCH] Remove deprecated code --- src/SUITApp/SUITApp_Application.cxx | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/SUITApp/SUITApp_Application.cxx b/src/SUITApp/SUITApp_Application.cxx index c210ae2c8..9a14c6be1 100644 --- a/src/SUITApp/SUITApp_Application.cxx +++ b/src/SUITApp/SUITApp_Application.cxx @@ -28,7 +28,6 @@ #include #include -#include #ifdef WIN32 #include @@ -54,14 +53,6 @@ SUITApp_Application::SUITApp_Application( int& argc, char** argv, SUIT_Exception #endif myExceptHandler( hand ) { - QString path = SUIT_Tools::dir( argv[0] ) + QDir::separator() + "../../resources"; - path = QDir::convertSeparators( QDir( path ).canonicalPath() ); - - QTranslator* strTbl = new QTranslator( 0 ); - if ( strTbl->load( "SUITApp_msg_en.po", path ) ) - installTranslator( strTbl ); - else - delete strTbl; } /*! @@ -75,9 +66,6 @@ SUITApp_Application::SUITApp_Application( int& argc, char** argv, Type type, SUI #endif myExceptHandler( hand ) { - QTranslator* strTbl = new QTranslator( 0 ); - strTbl->load( "resources\\SUITApp_msg_en.po" ); - installTranslator( strTbl ); } /*! @@ -102,7 +90,7 @@ bool SUITApp_Application::notify( QObject* receiver, QEvent* e ) */ void SUITApp_Application::setHandler( SUIT_ExceptionHandler* hand ) { - myExceptHandler = hand; + myExceptHandler = hand; } /*! -- 2.39.2