summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-05 12:11:40 (GMT)
committerJoerg Bornemann <joerg.bornemann@trolltech.com>2009-08-05 12:12:53 (GMT)
commitd8d85c9a482fb83161964a8925e2daf490c44007 (patch)
tree276080a593057509422c460ebeab7147aaa6aba1 /tools
parente80dc7d3a8ab098627c9c81ea390de7db0ec264e (diff)
downloadQt-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.cpp5
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;