QJSEngine: fix typo

Amends commit 0925c51c59.

Pick-to: 6.5
Change-Id: Ia0a42cd32813659a6e3d431e83506e82fac188bd
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Ulf Hermann 2023-01-16 10:06:03 +01:00
parent bf4882a146
commit a5fad649c3
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ public:
return QVariant::fromValue(from);
if constexpr (std::is_same_v<To, QString>
&& std::is_base_of_v<QObject, std::remove_const_t<std::remove_pointer_t<To>>>) {
&& std::is_base_of_v<QObject, std::remove_const_t<std::remove_pointer_t<From>>>) {
return convertQObjectToString(from);
}