# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2017-02-16 05:36:08 # Node ID 4edab23475f44b82c6892d7471f65e2c576676b1 # Parent 4a38ea66a42a635a0e9854acc893815793f2eda6 added option to disable header line diff --git a/src/recordpanel.cpp b/src/recordpanel.cpp --- a/src/recordpanel.cpp +++ b/src/recordpanel.cpp @@ -217,7 +217,12 @@ bool RecordPanel::confirmOverwrite(QStri void RecordPanel::startRecording(void) { - _recorder->startRecording(selectedFile, _channelMan->infoModel()->channelNames()); + QStringList channelNames; + if (ui->cbHeader->isChecked()) + { + channelNames = _channelMan->infoModel()->channelNames(); + } + _recorder->startRecording(selectedFile, channelNames); emit recordStarted(); } diff --git a/src/recordpanel.ui b/src/recordpanel.ui --- a/src/recordpanel.ui +++ b/src/recordpanel.ui @@ -7,7 +7,7 @@ 0 0 532 - 152 + 169 @@ -80,6 +80,19 @@ + + + Channel names are written to the first line of record file + + + Write header line + + + true + + + + Do not buffer when writing to file. Check this if you are using other software to open the file during recording.