Changeset 8204 in ntrip for trunk/BNC/src/pppRun.cpp


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

CHANGE: #105 toAscii deprecated

File:
1 edited

Legend:

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

    r7972 r8204  
    375375          _nmeaFile->write(output._epoTime.gpsw(), output._epoTime.gpssec(), ggaStr);
    376376        }
    377         emit newNMEAstr(staID, rmcStr.toAscii());
    378         emit newNMEAstr(staID, ggaStr.toAscii());
     377        emit newNMEAstr(staID, rmcStr.toLatin1());
     378        emit newNMEAstr(staID, ggaStr.toLatin1());
    379379        if (_snxtroFile && output._epoTime.valid()) {
    380380          _snxtroFile->write(staID, int(output._epoTime.gpsw()), output._epoTime.gpssec(),
     
    676676  unsigned char XOR = 0;
    677677  for (int ii = 0; ii < nmStr.length(); ii++) {
    678     XOR ^= (unsigned char) nmStr[ii].toAscii();
     678    XOR ^= (unsigned char) nmStr[ii].toLatin1();
    679679  }
    680680
     
    692692
    693693  QString msg = "pppRun " + QString(_opt->_roverName.c_str()) + ": Provider Changed: " + mountPoint;
    694   emit newMessage(msg.toAscii(), true);
     694  emit newMessage(msg.toLatin1(), true);
    695695
    696696  _pppClient->reset();
Note: See TracChangeset for help on using the changeset viewer.