aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-12-06 15:16:55 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-06 15:33:26 +0100
commit575056a3069df61dbe0499e8406bf9b87fc2a71f (patch)
tree4106d1cc3a323e28cfdac118bdb24c4534e636d7 /tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp
parenta709d55b4a7df1b352e78e1f125c1dd7656b4adb (diff)
Debugger: Fix compilation warning in autotest
Change-Id: I84c058a3cc8808d2da94ae6cb63815cd436bb8b8 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp')
-rw-r--r--tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp b/tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp
index 343399b690..43f92dfb64 100644
--- a/tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp
+++ b/tests/auto/declarative/debugger/qdeclarativedebugclient/tst_qdeclarativedebugclient.cpp
@@ -182,8 +182,8 @@ int main(int argc, char *argv[])
char **_argv = new char*[_argc];
for (int i = 0; i < argc; ++i)
_argv[i] = argv[i];
-
- _argv[_argc - 1] = "-qmljsdebugger=port:" STR_PORT;
+ char arg[] = "-qmljsdebugger=port:" STR_PORT;
+ _argv[_argc - 1] = arg;
QGuiApplication app(_argc, _argv);
tst_QDeclarativeDebugClient tc;