Changeset 463 in ntrip for trunk/BNC/bncwindow.cpp
- Timestamp:
- May 26, 2007, 1:11:59 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r460 r463 474 474 _actStop->setEnabled(true); 475 475 476 _ global_caster = new bncCaster(_outFileLineEdit->text(),476 _caster = new bncCaster(_outFileLineEdit->text(), 477 477 _outPortLineEdit->text().toInt()); 478 478 479 connect(_ global_caster, SIGNAL(getThreadErrors()),479 connect(_caster, SIGNAL(getThreadErrors()), 480 480 this, SLOT(slotGetThreadErrors())); 481 481 482 connect(_ global_caster, SIGNAL(newMessage(const QByteArray&)),482 connect(_caster, SIGNAL(newMessage(const QByteArray&)), 483 483 this, SLOT(slotMessage(const QByteArray&))); 484 connect(_ global_caster, SIGNAL(newMessage(const QByteArray&)),484 connect(_caster, SIGNAL(newMessage(const QByteArray&)), 485 485 (bncApp*)qApp, SLOT(slotMessage(const QByteArray&))); 486 486 … … 509 509 SLOT(slotNewBytes(const QByteArray, double))); 510 510 511 _ global_caster->addGetThread(getThread);511 _caster->addGetThread(getThread); 512 512 513 513 getThread->start(); … … 522 522 QMessageBox::NoButton); 523 523 if (iRet == QMessageBox::Yes) { 524 delete _ global_caster; _global_caster = 0;524 delete _caster; _caster = 0; 525 525 _actGetData->setEnabled(true); 526 526 _actStop->setEnabled(false);
Note:
See TracChangeset
for help on using the changeset viewer.