Changeset 3041 in ntrip for trunk/BNS/bnsoutf.cpp
- Timestamp:
- Feb 25, 2011, 2:17:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnsoutf.cpp
r2461 r3041 137 137 //////////////////////////////////////////////////////////////////////////// 138 138 t_irc bnsoutf::write(int GPSweek, double GPSweeks, const QString&, 139 const ColumnVector& ) {139 const ColumnVector&, bool append) { 140 140 141 141 if (_sampl != 0 && fmod(GPSweeks, _sampl) != 0.0) { … … 158 158 _out.setf(ios::showpoint | ios::fixed); 159 159 bnsSettings settings; 160 if (QFile::exists(_fName) && 161 Qt::CheckState(settings.value("fileAppend").toInt()) == Qt::Checked) { 160 if (append && QFile::exists(_fName)) { 162 161 _out.open(_fName.data(), ios::out | ios::app); 163 162 }
Note:
See TracChangeset
for help on using the changeset viewer.