Changeset 2527 in ntrip for trunk/BNC/bncgetthread.cpp


Ignore:
Timestamp:
Aug 3, 2010, 3:16:59 PM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r2526 r2527  
    300300           _format.indexOf("RTCM 3") != -1 ) {
    301301    emit(newMessage(_staID + ": Get data in RTCM 3.x format", true));
    302     _decoder = new RTCM3Decoder(_staID, bool(_rawFile != 0));
     302    _decoder = new RTCM3Decoder(_staID, _rawFile);
    303303    connect((RTCM3Decoder*) _decoder, SIGNAL(newMessage(QByteArray,bool)),
    304304            this, SIGNAL(newMessage(QByteArray,bool)));
     
    387387      }
    388388      else if (_rawFile) {
    389         QByteArray currStaID;
    390         QByteArray currFormat;
    391         data = _rawFile->readChunk(currStaID, currFormat);
     389        data = _rawFile->readChunk();
    392390
    393391        if (data.isEmpty()) {
Note: See TracChangeset for help on using the changeset viewer.