Changeset 9559 in ntrip for trunk/BNC/src/bncgetthread.cpp
- Timestamp:
- Dec 1, 2021, 5:47:15 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncgetthread.cpp
r9555 r9559 141 141 while (iSta.hasNext()) { 142 142 QStringList hlp = iSta.next().split(","); 143 if (hlp.size() < 1 1) {143 if (hlp.size() < 10) { 144 144 continue; 145 145 } 146 146 QByteArray mp = hlp[0].toLatin1(); 147 147 if (_staID == mp) { 148 nmeaPort = hlp[ 10].toInt();148 nmeaPort = hlp[9].toInt(); 149 149 } 150 150 } … … 862 862 QString msg; 863 863 QTextStream str(&msg); 864 QString s; 865 str << obs._prn.system() << " " 866 << s.sprintf("%2d", rnxTypes.size()) << " "; 864 str << obs._prn.system() << QString(" %1 ").arg(rnxTypes.size()); 867 865 for (int iType = 0; iType < rnxTypes.size(); iType++) { 868 866 str << " " << rnxTypes[iType];
Note:
See TracChangeset
for help on using the changeset viewer.