forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user