Changeset 8204 in ntrip for trunk/BNC/src/rinex/reqcanalyze.cpp


Ignore:
Timestamp:
Dec 11, 2017, 3:00:40 PM (7 years ago)
Author:
wiese
Message:

CHANGE: #105 toAscii deprecated

File:
1 edited

Legend:

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

    r8148 r8204  
    157157    QStringList input = signalsOpt.at(ii).split(QRegExp("[:&]"), QString::SkipEmptyParts);
    158158    if (input.size() > 1 && input[0].length() == 1) {
    159       char system = input[0].toAscii().constData()[0];
     159      char system = input[0].toLatin1().constData()[0];
    160160      QStringList sysValid       = _defaultSignalTypes.filter(QString(system));
    161161      QStringList defaultSignals = sysValid.at(0).split(QRegExp("[:&]"));
     
    400400      if (_signalTypes.find(sys) != _signalTypes.end()) {
    401401        frqType1.push_back(sys);
    402         frqType1.push_back(_signalTypes[sys][0][0].toAscii());
     402        frqType1.push_back(_signalTypes[sys][0][0].toLatin1());
    403403        frqType2.push_back(sys);
    404         frqType2.push_back(_signalTypes[sys][1][0].toAscii());
     404        frqType2.push_back(_signalTypes[sys][1][0].toLatin1());
    405405        if      (frqObs->_rnxType2ch[0] == frqType1[1]) {
    406406          fA = t_frequency::toInt(frqType1);
     
    612612  if (BNC_CORE->GUIenabled()) {
    613613    QFileInfo  fileInfo(obsFile->fileName());
    614     QByteArray title = fileInfo.fileName().toAscii();
     614    QByteArray title = fileInfo.fileName().toLatin1();
    615615    emit dspSkyPlot(obsFile->fileName(), mp1Title,  dataMP1,  mp2Title,  dataMP2,  "Meters",  2.0);
    616616    emit dspSkyPlot(obsFile->fileName(), sn1Title, dataSNR1, sn2Title, dataSNR2, "dbHz",   54.0);
     
    725725      }
    726726
    727       char frqChar1 = _signalTypes[prn.system()][0][0].toAscii();
    728       char frqChar2 = _signalTypes[prn.system()][1][0].toAscii();
     727      char frqChar1 = _signalTypes[prn.system()][0][0].toLatin1();
     728      char frqChar2 = _signalTypes[prn.system()][1][0].toLatin1();
    729729
    730730      QString frqType1;
Note: See TracChangeset for help on using the changeset viewer.