Changeset 4518 in ntrip


Ignore:
Timestamp:
Aug 13, 2012, 12:22:21 PM (7 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcedit.cpp

    r4516 r4518  
    9595  // -------------
    9696  _logFile = new QFile(_logFileName);
    97   _logFile->open(QIODevice::WriteOnly | QIODevice::Text);
    98   _log = new QTextStream();
    99   _log->setDevice(_logFile);
     97  if (_logFile->open(QIODevice::WriteOnly | QIODevice::Text)) {
     98    _log = new QTextStream();
     99    _log->setDevice(_logFile);
     100  }
     101
     102  // Log File Header
     103  // ---------------
     104  if (_log) {
     105    *_log << "Concatenation of RINEX Observation and/or Navigation Files\n";
     106    _log->flush();
     107  }
    100108
    101109  // Handle Observation Files
Note: See TracChangeset for help on using the changeset viewer.