use pipe as a csv separator

This commit is contained in:
leca 2025-06-11 01:44:49 +03:00
parent 55d75f413c
commit 4c262de8a4
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ void OutputDialog::on_buttonBox_accepted() {
} }
if (i < columns->size() - 1) { if (i < columns->size() - 1) {
output_file << ","; output_file << "|";
} else { } else {
output_file << "\n"; output_file << "\n";
} }
@ -124,7 +124,7 @@ void OutputDialog::print_header(std::ofstream *output_file) {
(*output_file) << column.get_text().toStdString() (*output_file) << column.get_text().toStdString()
<< (i == columns->size() - 1 << (i == columns->size() - 1
? "" ? ""
: ","); : "|");
} }
*output_file << std::endl; *output_file << std::endl;
} }