- Timestamp:
- Aug 3, 2010, 1:39:22 PM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r2523 r2525 391 391 if (data.isEmpty()) { 392 392 cout << "no more data" << endl; 393 ::exit(0); 393 QThread::exit(0); 394 this->deleteLater(); 395 return; 394 396 } 395 397 } -
trunk/BNC/bncrawfile.cpp
r2524 r2525 85 85 //////////////////////////////////////////////////////////////////////////// 86 86 bncRawFile::~bncRawFile() { 87 87 delete _inpFile; 88 delete _outFile; 88 89 } 89 90 … … 116 117 int nBytes = lst.value(2).toInt(); 117 118 118 cout << line.toAscii().data() << endl;119 120 119 data = _inpFile->read(nBytes); 121 120 122 _inpFile->read(1); 121 _inpFile->read(1); // read '\n' character 123 122 } 124 123
Note:
See TracChangeset
for help on using the changeset viewer.