aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4qobjectwrapper.cpp
diff options
context:
space:
mode:
authorFawzi Mohamed <fawzi.mohamed@qt.io>2020-04-06 14:02:55 +0200
committerFawzi Mohamed <fawzi.mohamed@qt.io>2020-04-06 14:15:58 +0200
commit666bd50d59131d00f4008d453fdcd7ba1dcd5342 (patch)
treed7f76330809d2379b0c63b2dd86d20550c55cc20 /src/qml/jsruntime/qv4qobjectwrapper.cpp
parent67cb58901860591dfc5d14e185646ba61a126f83 (diff)
Remove convert from ASCII warning
Change-Id: Ife8c3cc6f6cafc1048492ff1f503264528a4128c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4qobjectwrapper.cpp')
-rw-r--r--src/qml/jsruntime/qv4qobjectwrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4qobjectwrapper.cpp b/src/qml/jsruntime/qv4qobjectwrapper.cpp
index 8c8e05dbb7..4366a6932d 100644
--- a/src/qml/jsruntime/qv4qobjectwrapper.cpp
+++ b/src/qml/jsruntime/qv4qobjectwrapper.cpp
@@ -1305,8 +1305,8 @@ static QV4::ReturnedValue CallMethod(const QQmlObjectOrGadget &object, int index
qWarning() << "Passing incomatible arguments to signals is not supported.";
} else {
return engine->throwTypeError(
- "Passing incompatible arguments to C++ functions from "
- "JavaScript is not allowed.");
+ QLatin1String("Passing incompatible arguments to C++ functions from "
+ "JavaScript is not allowed."));
}
}
}