summaryrefslogtreecommitdiff
path: root/qt/qte233-for-opie091-display.patch
Unidiff
Diffstat (limited to 'qt/qte233-for-opie091-display.patch') (more/less context) (show whitespace changes)
-rw-r--r--qt/qte233-for-opie091-display.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/qt/qte233-for-opie091-display.patch b/qt/qte233-for-opie091-display.patch
new file mode 100644
index 0000000..d5b97e8
--- a/dev/null
+++ b/qt/qte233-for-opie091-display.patch
@@ -0,0 +1,15 @@
1 --- src.orig/kernel/qapplication_qws.cppMon Mar 18 02:11:25 2002
2 +++ src/kernel/qapplication_qws.cppFri Aug 30 04:48:23 2002
3@@ -1458,11 +1458,7 @@
4 qt_appType = type;
5 qws_single_process = TRUE;
6 QWSServer::startup(flags);
7 -QString strEnv( "QWS_DISPLAY=" );
8 -strEnv += qws_display_spec;
9 -char p[strEnv.length() + 1];
10 -strncpy( p, strEnv.latin1(), strEnv.length() );
11 -putenv( p );
12 +setenv( "QWS_DISPLAY", qws_display_spec, 1 );
13 }
14
15 if( qt_is_gui_used )