use pipe as a csv separator
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user