aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/xqt2/files/fix_seqfault_qtscreen.patch
blob: 72c1e6edf8ad68efbf4c168a4d3aa85b06006c05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- xqt2.vanilla/xfree86/xqt-driver/qtscreen.cc	2009-02-08 15:47:33.000000000 +0100
+++ xqt2/xfree86/xqt-driver/qtscreen.cc	2009-02-08 15:52:09.000000000 +0100
@@ -406,7 +406,9 @@
 //
 void qtScreen::keyPressEvent(QKeyEvent *ev)
 {
-	static QTextCodec *codec = QTextCodec::codecForName("eucJP");
+	//static QTextCodec *codec = QTextCodec::codecForName("eucJP");
+	//Better to choose the locale - even better provide a command line switch!
+	static QTextCodec *codec = QTextCodec::codecForLocale();

 #ifdef QWS
	QCString euc;