Mercurial > hg > svcore
diff data/fileio/CSVFileWriter.cpp @ 1816:fd5a87f3c5b4 csv-export-dialog
Overhaul and tidy the export options, and add support for header row
author | Chris Cannam |
---|---|
date | Tue, 14 Jan 2020 15:39:12 +0000 |
parents | c546429d4c2f |
children | 21c792334c2e |
line wrap: on
line diff
--- a/data/fileio/CSVFileWriter.cpp Fri Jan 10 14:29:54 2020 +0000 +++ b/data/fileio/CSVFileWriter.cpp Tue Jan 14 15:39:12 2020 +0000 @@ -85,8 +85,10 @@ QTextStream out(&file); -// out << m_model->getDelimitedDataHeaderLine(m_delimiter, m_options) -// << endl; + if (m_options & DataExportIncludeHeader) { + out << m_model->getDelimitedDataHeaderLine(m_delimiter, m_options) + << endl; + } sv_frame_t blockSize = 65536;