From 4c262de8a4501ad8f599b392710ced1058ce38bd Mon Sep 17 00:00:00 2001 From: leca Date: Wed, 11 Jun 2025 01:44:49 +0300 Subject: [PATCH] use pipe as a csv separator --- outputdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/outputdialog.cpp b/outputdialog.cpp index a3dea33..032aa56 100644 --- a/outputdialog.cpp +++ b/outputdialog.cpp @@ -88,7 +88,7 @@ void OutputDialog::on_buttonBox_accepted() { } if (i < columns->size() - 1) { - output_file << ","; + output_file << "|"; } else { output_file << "\n"; } @@ -124,7 +124,7 @@ void OutputDialog::print_header(std::ofstream *output_file) { (*output_file) << column.get_text().toStdString() << (i == columns->size() - 1 ? "" - : ","); + : "|"); } *output_file << std::endl; }