Changeset 9481 in ntrip for trunk/BNC/src/pppMain.cpp


Ignore:
Timestamp:
Jul 19, 2021, 10:46:16 PM (13 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppMain.cpp

    r9442 r9481  
    164164    if (_realTime) {
    165165      opt->_corrMount.assign(settings.value("PPP/corrMount").toString().toStdString());
     166      opt->_isAPC = (opt->_corrMount.substr(0,4)=="SSRA");
    166167    }
    167168    else {
     
    169170      opt->_rinexNav.assign(settings.value("PPP/rinexNav").toString().toStdString());
    170171      opt->_corrFile.assign(settings.value("PPP/corrFile").toString().toStdString());
     172      QFileInfo tmp = QFileInfo(QString::fromStdString(opt->_corrFile));
     173      opt->_isAPC = (tmp.baseName().mid(0,4)=="SSRA");
    171174    }
    172175
Note: See TracChangeset for help on using the changeset viewer.