diff options
author | Aleix Pol <aleixpol@kde.org> | 2015-02-27 16:39:21 +0100 |
---|---|---|
committer | Aleix Pol Gonzalez <aleixpol@kde.org> | 2015-03-16 12:38:34 +0000 |
commit | 84155a8e1a6250d3e4b0949a42464eee5dfef537 (patch) | |
tree | 15f0062686689921cac3bbf08e3a5ddcb37d0437 /src/qml/qml/v8/qqmlbuiltinfunctions.cpp | |
parent | 6767fcfaf234bc3e0f92f156fa68266d0aac7d4a (diff) |
Fix warning
If the arguments of console.timeEnd are wrong, say it's timeEnd instead of
time.
Change-Id: Ida8a76cd452cf3aecc03e5064bbf213333d93a03
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/v8/qqmlbuiltinfunctions.cpp')
-rw-r--r-- | src/qml/qml/v8/qqmlbuiltinfunctions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp index 8e5cbb8e96..0522e4c0ed 100644 --- a/src/qml/qml/v8/qqmlbuiltinfunctions.cpp +++ b/src/qml/qml/v8/qqmlbuiltinfunctions.cpp @@ -1483,7 +1483,7 @@ QV4::ReturnedValue ConsoleObject::method_time(CallContext *ctx) QV4::ReturnedValue ConsoleObject::method_timeEnd(CallContext *ctx) { if (ctx->argc() != 1) - V4THROW_ERROR("console.time(): Invalid arguments"); + V4THROW_ERROR("console.timeEnd(): Invalid arguments"); QV8Engine *v8engine = ctx->d()->engine->v8Engine; |