Changeset 3041 in ntrip for trunk/BNS/bnsoutf.cpp


Ignore:
Timestamp:
Feb 25, 2011, 2:17:45 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnsoutf.cpp

    r2461 r3041  
    137137////////////////////////////////////////////////////////////////////////////
    138138t_irc bnsoutf::write(int GPSweek, double GPSweeks, const QString&,
    139                      const ColumnVector&) {
     139                     const ColumnVector&, bool append) {
    140140
    141141  if (_sampl != 0 && fmod(GPSweeks, _sampl) != 0.0) {
     
    158158    _out.setf(ios::showpoint | ios::fixed);
    159159    bnsSettings settings;
    160     if (QFile::exists(_fName) &&
    161         Qt::CheckState(settings.value("fileAppend").toInt()) == Qt::Checked) {
     160    if (append && QFile::exists(_fName)) {
    162161      _out.open(_fName.data(), ios::out | ios::app);
    163162    }
Note: See TracChangeset for help on using the changeset viewer.