Changeset 1556 in ntrip for trunk/BNC/bnccaster.cpp


Ignore:
Timestamp:
Feb 2, 2009, 12:53:29 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.cpp

    r1542 r1556  
    237237          this,      SLOT(newObs(QByteArray, bool, p_obs)));
    238238
    239   connect(getThread, SIGNAL(error(QByteArray)),
    240           this, SLOT(slotGetThreadError(QByteArray)));
     239  connect(getThread, SIGNAL(getThreadFinished(QByteArray)),
     240          this, SLOT(slotGetThreadFinished(QByteArray)));
    241241
    242242  _staIDs.push_back(getThread->staID());
     
    246246}
    247247
    248 // Error in get thread
    249 ////////////////////////////////////////////////////////////////////////////
    250 void bncCaster::slotGetThreadError(QByteArray staID) {
     248// Get Thread destroyed
     249////////////////////////////////////////////////////////////////////////////
     250void bncCaster::slotGetThreadFinished(QByteArray staID) {
    251251  QMutexLocker locker(&_mutex);
    252252  _staIDs.removeAll(staID);
     
    255255  if (_staIDs.size() == 0) {
    256256    emit(newMessage("bncCaster: Last get thread terminated", true));
    257     emit getThreadErrors();
     257    emit getThreadsFinished();
    258258  }
    259259}
Note: See TracChangeset for help on using the changeset viewer.