QmlDesigner: Fix build

Change-Id: Iadf44d41d1f5236fa6311b93a4721829018eea6f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Christian Stenger
2024-03-15 07:19:18 +01:00
parent 699a9aa04a
commit 7e01d90824

View File

@@ -724,7 +724,7 @@ QString CollectionDetails::toCsv() const
if (value.isDouble()) if (value.isDouble())
content += QString::number(value.toDouble()) + ','; content += QString::number(value.toDouble()) + ',';
else if (value.isBool()) else if (value.isBool())
content += value.toBool() ? "true," : "false,"; content += value.toBool() ? QString("true,") : QString("false,");
else else
content += value.toString() + ','; content += value.toString() + ',';
} }