Changeset 5569 in ntrip for trunk/BNC/src/bncpppclient.cpp
- Timestamp:
- Nov 23, 2013, 6:50:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncpppclient.cpp
r5568 r5569 70 70 _model = new bncModel(this); 71 71 72 _streamID[0] = -1; 73 _streamID[1] = -1; 74 _streamID[2] = -1; 75 72 76 if (connectSlots) { 73 77 connect(this, SIGNAL(newMessage(QByteArray,bool)), … … 537 541 538 542 for (unsigned ii = 0; ii < 3; ii++) { 539 if (_ providerID.streamID[ii] != -1) {543 if (_streamID[ii] != -1) { 540 544 alreadySet = true; 541 545 } 542 546 if (corr->streamID[ii] != -1) { 543 if (_ providerID.streamID[ii] != corr->streamID[ii]) {547 if (_streamID[ii] != corr->streamID[ii]) { 544 548 different = true; 545 549 } 546 _ providerID.streamID[ii] = corr->streamID[ii];550 _streamID[ii] = corr->streamID[ii]; 547 551 } 548 552 } 549 553 550 554 if (alreadySet && different) { 551 _ providerID.reset = true;552 } 553 } 555 _model->reset(); 556 } 557 }
Note:
See TracChangeset
for help on using the changeset viewer.