Changeset 3691 in ntrip for trunk/BNC/pppopt.cpp


Ignore:
Timestamp:
Feb 12, 2012, 2:53:32 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/pppopt.cpp

    r3642 r3691  
    8181  corrFileName = settings.value("postcorrFile").toString();
    8282
    83   pppMode      = settings.value("pppSPP").toString() == "PPP";
     83  if      (settings.value("pppSPP").toString() == "Post-Processing") {
     84    if (corrFileName.isEmpty()) {
     85      pppMode = false;
     86    }
     87    else {
     88      pppMode = true;
     89    }
     90  }
     91  else if (settings.value("pppSPP").toString() == "PPP") {
     92    pppMode = true;
     93  }
     94  else {
     95    pppMode = false;
     96  }
     97     
    8498  rnxAppend    = settingsChecked("rnxAppend");
    8599  usePhase     = settingsChecked("pppUsePhase");
Note: See TracChangeset for help on using the changeset viewer.