From bba329d80365cfed30c411c111c1c8ba5aa04d62 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 14 Nov 2013 15:38:12 -0800 Subject: Avoid warnings on cast from char* to QString Why isn't QtQml being built with those functions disabled, so they produce errors? Change-Id: I2c0cf945523142800982f100a61a6c10e1929632 Reviewed-by: Simon Hausmann Reviewed-by: Kurt Pattyn --- src/qml/debugger/qv4debugservice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml') diff --git a/src/qml/debugger/qv4debugservice.cpp b/src/qml/debugger/qv4debugservice.cpp index 1bf38dc15d..372a51e997 100644 --- a/src/qml/debugger/qv4debugservice.cpp +++ b/src/qml/debugger/qv4debugservice.cpp @@ -619,7 +619,7 @@ public: addRunning(); QJsonObject body; body.insert(QStringLiteral("V8Version"), - QStringLiteral("this is not V8, this is V4 in Qt %1").arg(QLatin1String(QT_VERSION_STR))); + QLatin1String("this is not V8, this is V4 in Qt " QT_VERSION_STR)); addBody(body); } }; -- cgit v1.2.3