Changeset 5569 in ntrip for trunk/BNC/src/bncpppclient.cpp


Ignore:
Timestamp:
Nov 23, 2013, 6:50:41 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5568 r5569  
    7070  _model = new bncModel(this);
    7171
     72  _streamID[0] = -1;
     73  _streamID[1] = -1;
     74  _streamID[2] = -1;
     75
    7276  if (connectSlots) {
    7377    connect(this, SIGNAL(newMessage(QByteArray,bool)),
     
    537541
    538542  for (unsigned ii = 0; ii < 3; ii++) {
    539     if (_providerID.streamID[ii] != -1) {
     543    if (_streamID[ii] != -1) {
    540544      alreadySet = true;
    541545    }
    542546    if (corr->streamID[ii] != -1) {
    543       if (_providerID.streamID[ii] != corr->streamID[ii]) {
     547      if (_streamID[ii] != corr->streamID[ii]) {
    544548        different = true;
    545549      }
    546       _providerID.streamID[ii] = corr->streamID[ii];
     550      _streamID[ii] = corr->streamID[ii];
    547551    }
    548552  }
    549553   
    550554  if (alreadySet && different) {
    551     _providerID.reset = true;
    552   }
    553 }
     555    _model->reset();
     556  }
     557}
Note: See TracChangeset for help on using the changeset viewer.