Репозитории ALT
S: | 3.3.8d-alt16.1 |
5.1: | 3.3.8b-alt7 |
4.1: | 3.3.8b-alt2.qa1 |
4.0: | 3.3.8b-alt0.M40.1 |
3.0: | 3.3.4-alt6 |
+updates: | 3.3.4-alt6.3.M30 |
Группа :: Система/Библиотеки
Пакет: qt3
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: qt-3.2.3-alt-designer_add_translator.patch
Скачать
Скачать
--- qt-x11-free-3.2.3/tools/designer/app/main.cpp~ 2003-12-25 19:33:07 +0300
+++ qt-x11-free-3.2.3/tools/designer/app/main.cpp 2003-12-25 19:33:37 +0300
@@ -36,6 +36,7 @@
#include "designerapp.h"
+#include <qtextcodec.h>
#include <qtextstream.h>
#include <qobjectlist.h>
#include <qsettings.h>
@@ -119,6 +120,10 @@
DesignerApplication a( argc, argv );
+ QTranslator translator( 0 );
+ translator.load( QString( "designer_" ) + QTextCodec::locale(), qInstallPathTranslations() );
+ a.installTranslator( &translator );
+
DesignerApplication::setOverrideCursor( Qt::WaitCursor );
bool creatPid = FALSE;