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/RTCM3/RTCM3Decoder.cpp

    r8199 r8204  
    824824  else if ((type % 10) < 3) {
    825825    emit(newMessage(QString("%1: Block %2 contain partial data! Ignored!")
    826         .arg(_staID).arg(type).toAscii(), true));
     826        .arg(_staID).arg(type).toLatin1(), true));
    827827  }
    828828  if (!syncf) {
     
    14821482       * else. */
    14831483      if ((id >= 1057 && id <= 1068) || (id >= 1240 && id <= 1270)) {
    1484         if (!_coDecoders.contains(_staID.toAscii()))
    1485           _coDecoders[_staID.toAscii()] = new RTCM3coDecoder(_staID);
    1486         RTCM3coDecoder* coDecoder = _coDecoders[_staID.toAscii()];
     1484        if (!_coDecoders.contains(_staID.toLatin1()))
     1485          _coDecoders[_staID.toLatin1()] = new RTCM3coDecoder(_staID);
     1486        RTCM3coDecoder* coDecoder = _coDecoders[_staID.toLatin1()];
    14871487        if (coDecoder->Decode(reinterpret_cast<char *>(_Message), _BlockSize,
    14881488            errmsg) == success) {
     
    15001500            emit(newMessage(
    15011501                QString("%1: Block %2 contain partial data! Ignored!")
    1502                     .arg(_staID).arg(id).toAscii(), true));
     1502                    .arg(_staID).arg(id).toLatin1(), true));
    15031503            break; /* no use decoding partial data ATM, remove break when data can be used */
    15041504          case 1002:
     
    15111511            emit(newMessage(
    15121512                QString("%1: Block %2 contain partial data! Ignored!")
    1513                     .arg(_staID).arg(id).toAscii(), true));
     1513                    .arg(_staID).arg(id).toLatin1(), true));
    15141514            break; /* no use decoding partial data ATM, remove break when data can be used */
    15151515          case 1010:
Note: See TracChangeset for help on using the changeset viewer.