diff --git a/SleepLib/loader_plugins/resmed_loader.cpp b/SleepLib/loader_plugins/resmed_loader.cpp index 423ebcf5..a2de2f39 100644 --- a/SleepLib/loader_plugins/resmed_loader.cpp +++ b/SleepLib/loader_plugins/resmed_loader.cpp @@ -63,22 +63,22 @@ bool EDFParser::Parse() return false; //patientident=QString::fromAscii(header.patientident,80); - //recordingident=QString::fromAscii(header.recordingident,80); // Serial number is in here.. - //int snp=recordingident.indexOf("SRN="); - char * idx=index(header.recordingident,'='); - idx++; + recordingident=QString::fromAscii(header.recordingident,80); // Serial number is in here.. + int snp=recordingident.indexOf("SRN="); serialnumber.clear(); + /*char * idx=index(header.recordingident,'='); + idx++; for (int i=0;i<16;++i) { if (*idx==0x20) break; serialnumber+=*idx; ++idx; - } + } */ - // for (int i=snp+4;i