aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/xqt2/files/fix_seqfault_qtscreen.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qtopia/xqt2/files/fix_seqfault_qtscreen.patch')
-rw-r--r--recipes-qtopia/xqt2/files/fix_seqfault_qtscreen.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-qtopia/xqt2/files/fix_seqfault_qtscreen.patch b/recipes-qtopia/xqt2/files/fix_seqfault_qtscreen.patch
new file mode 100644
index 0000000..72c1e6e
--- /dev/null
+++ b/recipes-qtopia/xqt2/files/fix_seqfault_qtscreen.patch
@@ -0,0 +1,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;