Changeset 8204 in ntrip for trunk/BNC/src/rinex/reqcanalyze.cpp
- Timestamp:
- Dec 11, 2017, 3:00:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r8148 r8204 157 157 QStringList input = signalsOpt.at(ii).split(QRegExp("[:&]"), QString::SkipEmptyParts); 158 158 if (input.size() > 1 && input[0].length() == 1) { 159 char system = input[0].to Ascii().constData()[0];159 char system = input[0].toLatin1().constData()[0]; 160 160 QStringList sysValid = _defaultSignalTypes.filter(QString(system)); 161 161 QStringList defaultSignals = sysValid.at(0).split(QRegExp("[:&]")); … … 400 400 if (_signalTypes.find(sys) != _signalTypes.end()) { 401 401 frqType1.push_back(sys); 402 frqType1.push_back(_signalTypes[sys][0][0].to Ascii());402 frqType1.push_back(_signalTypes[sys][0][0].toLatin1()); 403 403 frqType2.push_back(sys); 404 frqType2.push_back(_signalTypes[sys][1][0].to Ascii());404 frqType2.push_back(_signalTypes[sys][1][0].toLatin1()); 405 405 if (frqObs->_rnxType2ch[0] == frqType1[1]) { 406 406 fA = t_frequency::toInt(frqType1); … … 612 612 if (BNC_CORE->GUIenabled()) { 613 613 QFileInfo fileInfo(obsFile->fileName()); 614 QByteArray title = fileInfo.fileName().to Ascii();614 QByteArray title = fileInfo.fileName().toLatin1(); 615 615 emit dspSkyPlot(obsFile->fileName(), mp1Title, dataMP1, mp2Title, dataMP2, "Meters", 2.0); 616 616 emit dspSkyPlot(obsFile->fileName(), sn1Title, dataSNR1, sn2Title, dataSNR2, "dbHz", 54.0); … … 725 725 } 726 726 727 char frqChar1 = _signalTypes[prn.system()][0][0].to Ascii();728 char frqChar2 = _signalTypes[prn.system()][1][0].to Ascii();727 char frqChar1 = _signalTypes[prn.system()][0][0].toLatin1(); 728 char frqChar2 = _signalTypes[prn.system()][1][0].toLatin1(); 729 729 730 730 QString frqType1;
Note:
See TracChangeset
for help on using the changeset viewer.