aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-11-14 15:38:12 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-06 10:35:16 +0100
commitbba329d80365cfed30c411c111c1c8ba5aa04d62 (patch)
tree2da969d13b9dc8835d7448aa94572f716202a5e8 /src/qml
parent1b16acceb174b89c7a95e204bcbc46e3a8857da4 (diff)
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 <simon.hausmann@digia.com> Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Diffstat (limited to 'src/qml')
-rw-r--r--src/qml/debugger/qv4debugservice.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
};