Changeset 758 in ntrip for trunk/BNS/bnswindow.cpp
- Timestamp:
- Mar 30, 2008, 5:47:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnswindow.cpp
r757 r758 58 58 // Constructor 59 59 //////////////////////////////////////////////////////////////////////////// 60 bnsWindow::bnsWindow(t_bns* bns) { 61 62 _bns = bns; 63 64 connect(bns, SIGNAL(newMessage(QByteArray)), 65 this, SLOT(slotMessage(const QByteArray))); 60 bnsWindow::bnsWindow() { 61 62 _bns = 0; 66 63 67 64 QSettings settings; … … 292 289 _actStart->setEnabled(true); 293 290 _actStop->setEnabled(false); 291 delete _bns; 292 _bns = 0; 294 293 } 295 294 } … … 303 302 _actStop->setEnabled(true); 304 303 304 _bns = new t_bns(0); 305 connect(_bns, SIGNAL(newMessage(QByteArray)), 306 this, SLOT(slotMessage(const QByteArray))); 305 307 _bns->start(); 306 308 }
Note:
See TracChangeset
for help on using the changeset viewer.