Changeset 5530 in ntrip
- Timestamp:
- Nov 6, 2013, 5:39:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncrinex.cpp
r5523 r5530 330 330 // Append to existing file and return 331 331 // ---------------------------------- 332 if ( QFile::exists(_fName) ) { 333 if (_reconnectFlag || 334 Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked) { 335 _out.open(_fName.data(), ios::app); 336 _out.setf(ios::showpoint | ios::fixed); 337 _headerWritten = true; 338 _reconnectFlag = false; 339 return; 340 } 341 } 342 343 _out.open(_fName.data()); 332 if ( QFile::exists(_fName) && 333 (_reconnectFlag || Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked) ) { 334 _out.open(_fName.data(), ios::app); 335 _out.setf(ios::showpoint | ios::fixed); 336 _headerWritten = true; 337 _reconnectFlag = false; 338 } 339 else { 340 _out.open(_fName.data()); 341 } 342 344 343 _out.setf(ios::showpoint | ios::fixed); 345 344 … … 428 427 429 428 outHlp.flush(); 430 _out << headerLines.data(); 429 430 if (!_headerWritten) { 431 _out << headerLines.data(); 432 } 431 433 432 434 _headerWritten = true;
Note:
See TracChangeset
for help on using the changeset viewer.