QtQml: Fix typo in warning message
Pick-to: 6.5 6.6 Task-number: QTBUG-114086 Change-Id: Iacaaf3ed0696c78664c62398931a13ffbc9f3211 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
This commit is contained in:
parent
d62302a306
commit
4fdaf22a54
|
@ -1488,7 +1488,7 @@ static ReturnedValue CallMethod(const QQmlObjectOrGadget &object, int index, QMe
|
|||
const bool is_signal =
|
||||
object.metaObject()->method(index).methodType() == QMetaMethod::Signal;
|
||||
if (is_signal) {
|
||||
qWarning() << "Passing incomatible arguments to signals is not supported.";
|
||||
qWarning() << "Passing incompatible arguments to signals is not supported.";
|
||||
} else {
|
||||
return engine->throwTypeError(
|
||||
QLatin1String("Passing incompatible arguments to C++ functions from "
|
||||
|
|
Loading…
Reference in New Issue