summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-02-21 17:48:50 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2011-04-01 10:59:41 (GMT)
commit7101a3fafb40cacb855ee07036ce4baacc5d202b (patch)
tree619cb68cf1dd716a3ee527e103bb4901853e409e /src/corelib/io
parent2365b2dfd57770875b6eefb165ec27f3bf65dd0c (diff)
downloadQt-7101a3fafb40cacb855ee07036ce4baacc5d202b.zip
Qt-7101a3fafb40cacb855ee07036ce4baacc5d202b.tar.gz
Qt-7101a3fafb40cacb855ee07036ce4baacc5d202b.tar.bz2
Compile with QStringBuilder and QByteArray
Reviewed-by: Denis
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qprocess_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qprocess_unix.cpp b/src/corelib/io/qprocess_unix.cpp
index ba61bda..b7505ce 100644
--- a/src/corelib/io/qprocess_unix.cpp
+++ b/src/corelib/io/qprocess_unix.cpp
@@ -493,8 +493,8 @@ static char **_q_dupEnvironment(const QHash<QByteArray, QByteArray> &environment
}
if (needToAddLibraryPath)
- envp[(*envc)++] = ::strdup(QByteArray(libraryPath) + '=' +
- envLibraryPath);
+ envp[(*envc)++] = ::strdup(QByteArray(QByteArray(libraryPath) + '=' +
+ envLibraryPath).constData());
return envp;
}