Changeset 1880 in ntrip


Ignore:
Timestamp:
Jul 29, 2009, 5:29:25 PM (15 years ago)
Author:
weber
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r1875 r1880  
    10741074
    10751075  bncSettings settings;
     1076
    10761077  QDir rnxdir(settings.value("rnxPath").toString());
    10771078  if (!rnxdir.exists()) ((bncApp*)qApp)->slotMessage("Cannot find RINEX Observations directory", true);
    1078   QFile rnxfile(settings.value("rnxScript").toString());
    1079   if (!rnxfile.exists()) ((bncApp*)qApp)->slotMessage("Cannot find RINEX Observations script", true);
     1079
     1080  QString rnx_file = settings.value("rnxScript").toString();
     1081  if ( !rnx_file.isEmpty() ) {
     1082    QFile rnxfile(settings.value("rnxScript").toString());
     1083    if (!rnxfile.exists()) ((bncApp*)qApp)->slotMessage("Cannot find RINEX Observations script", true);
     1084  }
     1085
    10801086  QDir ephdir(settings.value("ephPath").toString());
    10811087  if (!ephdir.exists()) ((bncApp*)qApp)->slotMessage("Cannot find RINEX Ephemeris directory", true);
     1088
    10821089  QDir corrdir(settings.value("corrPath").toString());
    10831090  if (!corrdir.exists()) ((bncApp*)qApp)->slotMessage("Cannot find Broadcast Corrections directory", true);
    1084   QString obsRate = settings.value("obsRate").toString();
    1085   if ( !obsRate.isEmpty() ) {
     1091
     1092  QString advise_file = settings.value("adviseScript").toString();
     1093  if ( !advise_file.isEmpty() ) {
    10861094    QFile advisefile(settings.value("adviseScript").toString());
    10871095    if (!advisefile.exists()) ((bncApp*)qApp)->slotMessage("Cannot find Outages script", true);
Note: See TracChangeset for help on using the changeset viewer.