From 87bb76ae8b59f5b504c49e242e24d6867f8b7789 Mon Sep 17 00:00:00 2001 From: Aurindam Jana Date: Mon, 5 Sep 2011 17:36:52 +0200 Subject: [PATCH] JSDebugging Auto Test: Fix build break. Change-Id: I7969267e6331f8d348f7206c4aff99c99294e515 Reviewed-on: http://codereview.qt.nokia.com/4216 Reviewed-by: Qt Sanity Bot Reviewed-by: Christian Stenger --- .../tst_qdeclarativedebugjs.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp b/tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp index 1704859..bfefe48 100644 --- a/tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp +++ b/tests/auto/declarative/qdeclarativedebugjs/tst_qdeclarativedebugjs.cpp @@ -100,7 +100,7 @@ const char *V8FLAGS = "v8flags"; const char *VERSION = "version"; const char *DISCONNECT = "disconnect"; const char *LISTBREAKPOINTS = "listbreakpoints"; -const char *GC = "gc"; +const char *GARBAGECOLLECTOR = "gc"; //const char *PROFILE = "profile"; const char *CONNECT = "connect"; @@ -916,7 +916,7 @@ void QJSDebugClient::gc() // } // } VARIANTMAPINIT; - jsonVal.setProperty(QLatin1String(COMMAND),QJSValue(QLatin1String(GC))); + jsonVal.setProperty(QLatin1String(COMMAND),QJSValue(QLatin1String(GARBAGECOLLECTOR))); QJSValue args = parser.call(QJSValue(), QJSValueList() << obj); -- 1.7.2.5