author | sandman <sandman> | 2002-08-30 02:50:56 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-08-30 02:50:56 (UTC) |
commit | 57e4c1b05208650eaac76268eb9bb25a1caa2184 (patch) (unidiff) | |
tree | 6389ea3b2799dbbb731d1780102568642129e335 /qt/qte233-for-opie091-display.patch | |
parent | c4af3c78c9f6f073c1e0b11b331a2e24df80b9ff (diff) | |
download | opie-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.patch | 15 |
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 ) | ||