Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 151494 | Differences between
and this patch

Collapse All | Expand All

(-)main.cpp.orig (-2 / +2 lines)
Lines 7-13 Link Here
7
{
7
{
8
	QApplication app(argc, argv);
8
	QApplication app(argc, argv);
9
	QTranslator qtTranslator;
9
	QTranslator qtTranslator;
10
	QFile configfile( qApp->applicationDirPath() + "/language.txt" );
10
	QFile configfile( qApp->applicationDirPath() + "/../share/manslide/language.txt" );
11
	if (configfile.open(QFile::ReadOnly)) 
11
	if (configfile.open(QFile::ReadOnly)) 
12
	{
12
	{
13
		QByteArray newData = configfile.readAll();
13
		QByteArray newData = configfile.readAll();
Lines 15-21 Link Here
15
		configfile.close();
15
		configfile.close();
16
		if ( wl_var_1 == "EN" )
16
		if ( wl_var_1 == "EN" )
17
		{
17
		{
18
			qtTranslator.load("datalang", qApp->applicationDirPath());
18
			qtTranslator.load("datalang", qApp->applicationDirPath() + "/../share/manslide/");
19
			app.installTranslator(&qtTranslator);
19
			app.installTranslator(&qtTranslator);
20
		}
20
		}
21
	}
21
	}

Return to bug 151494