QmlDesigner: Add line endings to source

The line-endings have to be correct, because
the rewriter only fixes the indentation.

Change-Id: If08f3b1bff8f35d63ee51521e6b07c7017fa3cf0
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2023-09-11 14:32:47 +02:00
parent 74222a76f4
commit a94ab799f9

View File

@@ -229,10 +229,10 @@ struct JSOverload
value += JSOverload()(conditional.ok);
if (!isEmptyStatement(conditional.ko)) {
value += "} else {\n";
value += "\n} else {\n";
value += JSOverload()(conditional.ko);
}
value += "}";
value += "\n}";
return value;
}