Mercurial > hg > svcore
comparison data/fileio/CSVFileWriter.cpp @ 1824:1cd161242250
Merge
author | Chris Cannam |
---|---|
date | Tue, 28 Jan 2020 14:34:13 +0000 |
parents | fd5a87f3c5b4 |
children | 21c792334c2e |
comparison
equal
deleted
inserted
replaced
1823:07a8793a0388 | 1824:1cd161242250 |
---|---|
83 return; | 83 return; |
84 } | 84 } |
85 | 85 |
86 QTextStream out(&file); | 86 QTextStream out(&file); |
87 | 87 |
88 if (m_options & DataExportIncludeHeader) { | |
89 out << m_model->getDelimitedDataHeaderLine(m_delimiter, m_options) | |
90 << endl; | |
91 } | |
92 | |
88 sv_frame_t blockSize = 65536; | 93 sv_frame_t blockSize = 65536; |
89 | 94 |
90 if (m_model->isSparse()) { | 95 if (m_model->isSparse()) { |
91 // Write the whole in one go, as re-seeking for each block | 96 // Write the whole in one go, as re-seeking for each block |
92 // may be very costly otherwise | 97 // may be very costly otherwise |