From a79e400150e9d550cc4ddc0c0497778d8b78fe5d Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Fri, 1 Nov 2013 12:38:32 +0100 Subject: Fix various compiler warnings in order to remove warn_off in the near future Change-Id: Ic0492fbe31a1e134674bc6c20381f735dd6d5b7a Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4script.cpp') diff --git a/src/qml/jsruntime/qv4script.cpp b/src/qml/jsruntime/qv4script.cpp index f1903cf323..49fee99135 100644 --- a/src/qml/jsruntime/qv4script.cpp +++ b/src/qml/jsruntime/qv4script.cpp @@ -223,7 +223,7 @@ void Script::parse() if (!vmFunction) { // ### FIX file/line number - Scoped error(valueScope, v4->newSyntaxErrorObject("Syntax error")); + Scoped error(valueScope, v4->newSyntaxErrorObject(QStringLiteral("Syntax error"))); v4->current->throwError(error); } } -- cgit v1.2.3