diff options
author | Fawzi Mohamed <fawzi.mohamed@qt.io> | 2020-04-06 14:02:55 +0200 |
---|---|---|
committer | Fawzi Mohamed <fawzi.mohamed@qt.io> | 2020-04-06 14:15:58 +0200 |
commit | 666bd50d59131d00f4008d453fdcd7ba1dcd5342 (patch) | |
tree | d7f76330809d2379b0c63b2dd86d20550c55cc20 /src/qml/jsruntime/qv4qobjectwrapper.cpp | |
parent | 67cb58901860591dfc5d14e185646ba61a126f83 (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.cpp | 4 |
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.")); } } } |