Changeset 2407 in ntrip


Ignore:
Timestamp:
Apr 8, 2010, 5:36:55 PM (12 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncapp.cpp

    r2405 r2407  
    4242#include <QMessageBox>
    4343#include <cmath>
    44 #include <unistd.h>
    4544
    4645#include "bncapp.h"
     
    716715    bncSettings settings;
    717716    QString rawOutFileName = settings.value("rawOutFile").toString();
    718     _rawOutFile = new QFile(rawOutFileName);
    719     _rawOutFile->open(QIODevice::WriteOnly);
     717    if (!rawOutFileName.isEmpty()) {
     718      _rawOutFile = new QFile(rawOutFileName);
     719      _rawOutFile->open(QIODevice::WriteOnly);
     720    }
    720721  }
    721722
Note: See TracChangeset for help on using the changeset viewer.