diff options
author | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-08-05 12:11:40 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-08-05 12:12:53 (GMT) |
commit | d8d85c9a482fb83161964a8925e2daf490c44007 (patch) | |
tree | 276080a593057509422c460ebeab7147aaa6aba1 /tools | |
parent | e80dc7d3a8ab098627c9c81ea390de7db0ec264e (diff) | |
download | Qt-d8d85c9a482fb83161964a8925e2daf490c44007.zip Qt-d8d85c9a482fb83161964a8925e2daf490c44007.tar.gz Qt-d8d85c9a482fb83161964a8925e2daf490c44007.tar.bz2 |
cetest compile fix
Reviewed-by: TrustMe
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qtestlib/wince/cetest/cetcpsyncconnection.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/qtestlib/wince/cetest/cetcpsyncconnection.cpp b/tools/qtestlib/wince/cetest/cetcpsyncconnection.cpp index f00d2b8..621a6ac 100644 --- a/tools/qtestlib/wince/cetest/cetcpsyncconnection.cpp +++ b/tools/qtestlib/wince/cetest/cetcpsyncconnection.cpp @@ -44,7 +44,7 @@ #include <qfile.h> #include <qfileinfo> -static const QString ceTcpSyncProgram = ceTcpSyncProgram + ""; +static const QString ceTcpSyncProgram = "cetcpsync"; extern void debugOutput(const QString& text, int level); CeTcpSyncConnection::CeTcpSyncConnection() @@ -63,7 +63,8 @@ bool CeTcpSyncConnection::connect(QVariantList&) { // We connect with each command, so this is always true // The command itself will fail then - if (system(ceTcpSyncProgram + " noop") != 0) + const QString cmd = ceTcpSyncProgram + " noop"; + if (system(qPrintable(cmd)) != 0) return false; connected = true; return true; |