Changeset 5930 in ntrip
- Timestamp:
- Aug 15, 2014, 10:13:07 AM (10 years ago)
- Location:
- trunk/BNC/src/PPP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppThread.cpp
r5927 r5930 61 61 _pppRun = 0; 62 62 63 connect(this, SIGNAL(finished()), this, SLOT(deleteLater())); 64 63 65 connect(this, SIGNAL(newMessage(QByteArray,bool)), 64 66 BNC_CORE, SLOT(slotMessage(const QByteArray,bool))); … … 77 79 try { 78 80 _pppRun = new t_pppRun(_opt); 79 connect(_pppRun, SIGNAL(finished()), this, SLOT(slotPPPfinished()));80 81 if (_opt->_realTime) { 81 82 if (_ownThread) { … … 88 89 } 89 90 catch (t_except exc) { 90 delete _pppRun;_pppRun = 0;91 _pppRun = 0; 91 92 emit newMessage(QByteArray(exc.what().c_str()), true); 92 93 } 93 94 } 94 95 95 // Run (virtual)96 ////////////////////////////////////////////////////////////////////////////97 void t_pppThread::slotPPPfinished() {98 delete _pppRun; _pppRun = 0;99 } -
trunk/BNC/src/PPP/pppThread.h
r5927 r5930 23 23 signals: 24 24 void newMessage(QByteArray msg, bool showOnScreen); 25 void pppFinished();26 27 private slots:28 void slotPPPfinished();29 25 30 26 private:
Note:
See TracChangeset
for help on using the changeset viewer.