use pipe as a csv separator
This commit is contained in:
parent
55d75f413c
commit
4c262de8a4
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue