From: vsr Date: Mon, 2 Feb 2015 16:05:08 +0000 (+0300) Subject: Remove deprecated code X-Git-Tag: V7_6_0a1~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3fa84c3274d586ccba0ab8ae41487aadc50a7474;p=modules%2Fgui.git Remove deprecated code --- 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; } /*!