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/upload/bncrtnetuploadcaster.cpp

    r8145 r8204  
    280280  // Read first line (with epoch time)
    281281  // ---------------------------------
    282   QTextStream in(lines[0].toAscii());
     282  QTextStream in(lines[0].toLatin1());
    283283  QString hlp;
    284284  int year, month, day, hour, min;
     
    291291      "bncRtnetUploadCaster: decode " + QByteArray(epoTime.datestr().c_str())
    292292          + " " + QByteArray(epoTime.timestr().c_str()) + " "
    293           + _casterID.toAscii(), false));
     293          + _casterID.toLatin1(), false));
    294294
    295295  struct ClockOrbit co;
     
    369369    t_prn prn;
    370370
    371     QTextStream in(lines[ii].toAscii());
     371    QTextStream in(lines[ii].toLatin1());
    372372
    373373    in >> key;
     
    401401    }
    402402    // satellite specific parameters
    403     char sys = key.mid(0, 1).at(0).toAscii();
     403    char sys = key.mid(0, 1).at(0).toLatin1();
    404404    int number = key.mid(1, 2).toInt();
    405405    int flags = 0;
Note: See TracChangeset for help on using the changeset viewer.