Changeset 982 in ntrip for trunk/BNS


Ignore:
Timestamp:
Jul 26, 2008, 3:04:21 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnsoutf.cpp

    r854 r982  
    155155  if (!_headerWritten) {
    156156    resolveFileName(GPSweek, datTim);
    157     _out.open(_fName.data());
    158157    _out.setf(ios::showpoint | ios::fixed);
    159     writeHeader(datTim);
     158    QSettings settings;
     159    if (QFile::exists(_fName) &&
     160        Qt::CheckState(settings.value("fileAppend").toInt()) == Qt::Checked) {
     161      _out.open(_fName.data(), ios::out | ios::app);
     162    }
     163    else {
     164      _out.open(_fName.data());
     165      writeHeader(datTim);
     166    }
    160167    _headerWritten = true;
    161168  }
Note: See TracChangeset for help on using the changeset viewer.