summaryrefslogtreecommitdiff
path: root/qt/qte233-for-opie091-display.patch
authorsandman <sandman>2002-08-30 02:50:56 (UTC)
committer sandman <sandman>2002-08-30 02:50:56 (UTC)
commit57e4c1b05208650eaac76268eb9bb25a1caa2184 (patch) (side-by-side diff)
tree6389ea3b2799dbbb731d1780102568642129e335 /qt/qte233-for-opie091-display.patch
parentc4af3c78c9f6f073c1e0b11b331a2e24df80b9ff (diff)
downloadopie-57e4c1b05208650eaac76268eb9bb25a1caa2184.zip
opie-57e4c1b05208650eaac76268eb9bb25a1caa2184.tar.gz
opie-57e4c1b05208650eaac76268eb9bb25a1caa2184.tar.bz2
New/ported patches for Qt/E 2.3.3
Diffstat (limited to 'qt/qte233-for-opie091-display.patch') (more/less context) (ignore 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 @@
+--- src.orig/kernel/qapplication_qws.cpp Mon Mar 18 02:11:25 2002
++++ src/kernel/qapplication_qws.cpp Fri Aug 30 04:48:23 2002
+@@ -1458,11 +1458,7 @@
+ qt_appType = type;
+ qws_single_process = TRUE;
+ QWSServer::startup(flags);
+- QString strEnv( "QWS_DISPLAY=" );
+- strEnv += qws_display_spec;
+- char p[strEnv.length() + 1];
+- strncpy( p, strEnv.latin1(), strEnv.length() );
+- putenv( p );
++ setenv( "QWS_DISPLAY", qws_display_spec, 1 );
+ }
+
+ if( qt_is_gui_used )