ALT Linux repos
S: | 3.3.8d-alt16.1 |
5.0: | 3.3.8b-alt3 |
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 |
Group :: System/Libraries
RPM: qt3
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: qt-3.2.3-alt-qtconfig_add_translator.patch
Download
Download
diff -uNr qtconfig.old/main.cpp qtconfig/main.cpp
--- qt-x11-free-3.2.3/tools/qtconfig.old/main.cpp 2003-05-13 11:08:55 +0400
+++ qt-x11-free-3.2.3/tools/qtconfig/main.cpp 2003-12-25 19:27:53 +0300
@@ -20,11 +20,17 @@
#include "mainwindow.h"
#include <qapplication.h>
+#include <qtextcodec.h>
int main(int argc, char **argv)
{
QApplication app(argc, argv);
+
+ QTranslator translator( 0 );
+ translator.load( QString( "qtconfig_" ) + QTextCodec::locale(), qInstallPathTranslations() );
+ app.installTranslator( &translator );
+
MainWindow mw;
app.setMainWidget(&mw);
mw.show();