Changeset 5905 in ntrip for trunk/BNC/src/PPP/pppThread.cpp
- Timestamp:
- Aug 9, 2014, 11:45:37 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppThread.cpp
r5904 r5905 55 55 // Constructor 56 56 //////////////////////////////////////////////////////////////////////////// 57 t_pppThread::t_pppThread(const t_pppOptions* opt) : QThread(0) { 58 _opt = opt; 59 _pppRun = 0; 57 t_pppThread::t_pppThread(bool ownThread, const t_pppOptions* opt) : QThread(0) { 58 59 _ownThread = ownThread; 60 _opt = opt; 61 _pppRun = 0; 60 62 61 63 connect(this, SIGNAL(finished()), this, SLOT(deleteLater())); … … 79 81 _pppRun = new t_pppRun(_opt); 80 82 if (_opt->_realTime) { 81 QThread::exec(); 83 if (_ownThread) { 84 QThread::exec(); 85 } 82 86 } 83 87 else {
Note:
See TracChangeset
for help on using the changeset viewer.