LanguageUtils: Fix an implicit conversion to QChar

This here looks like an actual bug discovered by having QChar(char)
explicit in Qt 6.

As the code is unused, no visible change is expected.

Task-number: QTCREATORBUG-24098
Change-Id: I890cf1634f5c6e1ed6230644cdb34e899d437878
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2020-11-06 08:58:28 +01:00
parent 3ec8169137
commit 1dd7595e60

View File

@@ -177,7 +177,7 @@ QString FakeMetaMethod::describe(int baseIndent) const
res += methodName(); res += methodName();
res += newLine; res += newLine;
res += QLatin1String(" methodType:"); res += QLatin1String(" methodType:");
res += methodType(); res += QString::number(methodType());
res += newLine; res += newLine;
res += QLatin1String(" parameterNames:["); res += QLatin1String(" parameterNames:[");
foreach (const QString &pName, parameterNames()) { foreach (const QString &pName, parameterNames()) {